diff options
Diffstat (limited to 'custom/bar-service.nix')
-rw-r--r-- | custom/bar-service.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/custom/bar-service.nix b/custom/bar-service.nix index 97e6f592..6e10d24b 100644 --- a/custom/bar-service.nix +++ b/custom/bar-service.nix | |||
@@ -82,9 +82,13 @@ in { | |||
82 | users.groups."${cfg.group}" = {}; | 82 | users.groups."${cfg.group}" = {}; |
83 | 83 | ||
84 | nixpkgs.overlays = [(selfPkgs: superPkgs: { | 84 | nixpkgs.overlays = [(selfPkgs: superPkgs: { |
85 | haskell.packages.ghc822 = superPkgs.haskell.packages.ghc822.extend (selfH: superH: { | 85 | haskell = superPkgs.haskell // { |
86 | bar = superPkgs.callPackage ./bar { haskellPackages = selfH; }; | 86 | packages = superPkgs.haskell.packages // { |
87 | }); | 87 | ghc822 = superPkgs.haskell.packages.ghc822.extend (selfH: superH: { |
88 | bar = superPkgs.callPackage ./bar { haskellPackages = selfH; }; | ||
89 | }); | ||
90 | }; | ||
91 | }; | ||
88 | 92 | ||
89 | inherit (selfPkgs.haskell.packages.ghc822) bar; | 93 | inherit (selfPkgs.haskell.packages.ghc822) bar; |
90 | })]; | 94 | })]; |