bkerby

~/.nixpkgs/config.nix

Sep 6th, 2012
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. pkgs : {
  2. cabal.libraryProfiling = true;
  3. }
  4.  
  5. {
  6. packageOverrides = self : { haskellPackages_ghc741_test = {
  7. all = (self.haskellPackages_ghc741.override {
  8. extraPrefs = super : { transformers = super.transformers_0_2_2_0; };
  9. }).ghcWithPackages (self : [
  10. self.mtl
  11. ]);
  12. };
  13. };
  14. }
  15.  
  16.  
  17. -----------
  18. $> nix-env -i haskellPackages_ghc741_test --show-trace
  19. error: while evaluating the function at `/nix/store/p4lzfb8xqy260xchbynsrb10gn82p8si-nixos-0.1pre3914_bce1cdd-702854c/nixos/nixpkgs/pkgs/top-level/all-packages.nix:8:1':
  20. while evaluating the function at `/nix/store/p4lzfb8xqy260xchbynsrb10gn82p8si-nixos-0.1pre3914_bce1cdd-702854c/nixos/nixpkgs/pkgs/top-level/all-packages.nix:108:26':
  21. while evaluating the function at `/nix/store/p4lzfb8xqy260xchbynsrb10gn82p8si-nixos-0.1pre3914_bce1cdd-702854c/nixos/nixpkgs/pkgs/top-level/all-packages.nix:126:19':
  22. while evaluating the function at `/nix/store/p4lzfb8xqy260xchbynsrb10gn82p8si-nixos-0.1pre3914_bce1cdd-702854c/nixos/nixpkgs/pkgs/top-level/all-packages.nix:83:25':
  23. while evaluating the function at `/nix/store/p4lzfb8xqy260xchbynsrb10gn82p8si-nixos-0.1pre3914_bce1cdd-702854c/nixos/nixpkgs/pkgs/lib/attrsets.nix:19:35':
  24. while evaluating the builtin function `hasAttr':
  25. while evaluating the function at `/home/dmalikov/.nixpkgs/config.nix:1:1':
  26. attempt to call something which is neither a function nor a primop (built-in operation) but an attribute set
Advertisement
Add Comment
Please, Sign In to add comment