Commit fb1dbae 1 parent c688e95 commit fb1dbae Copy full SHA for fb1dbae
File tree 1 file changed +7
-16
lines changed
1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change 2
2
, compiler ? "ghc90"
3
3
} :
4
4
let
5
- # Trick I learned from https://nix.dev/guides/best-practices.html#updating-nested-attribute-sets
6
- # TODO:
7
- # pkgs.lib.recursiveUpdate { a = { b = 1; }; } { a = { c = 3;}; }
8
-
9
5
nixpkgs =
10
- nixpkgsRaw //
11
- { pkgs = nixpkgsRaw . pkgs //
12
- { haskell = nixpkgsRaw . pkgs . haskell //
13
- { packages = nixpkgsRaw . pkgs . haskell . packages //
14
- { "${ compiler } " =
15
- nixpkgsRaw . pkgs . haskell . packages . ${ compiler } . override {
16
- overrides = self : super : {
17
- statistics = nixpkgsRaw . pkgs . haskell . lib . dontCheck super . statistics ;
18
- flatparse = nixpkgsRaw . pkgs . haskell . lib . dontCheck super . flatparse ;
19
- } ;
20
- } ;
6
+ nixpkgsRaw . pkgs . lib . recursiveUpdate # See https://nix.dev/guides/best-practices.html#updating-nested-attribute-sets
7
+ nixpkgsRaw
8
+ { pkgs . haskell . packages . ${ compiler } =
9
+ nixpkgsRaw . pkgs . haskell . packages . ${ compiler } . override {
10
+ overrides = self : super : {
11
+ statistics = nixpkgsRaw . pkgs . haskell . lib . dontCheck super . statistics ;
12
+ flatparse = nixpkgsRaw . pkgs . haskell . lib . dontCheck super . flatparse ;
21
13
} ;
22
14
} ;
23
- } ;
24
15
} ;
25
16
26
17
bellman-ford =
You can’t perform that action at this time.
0 commit comments