diff options
Diffstat (limited to 'Biz/Bild.nix')
-rw-r--r-- | Biz/Bild.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Biz/Bild.nix b/Biz/Bild.nix index 6279d2f..eb4821d 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -16,7 +16,7 @@ let # 44 = lib.strings.stringLength "/nix/store/gia2r9mxhc900y1m97dlmr1g3rm3ich3-" dropNixStore = s: nixpkgs.lib.strings.substring 44 (nixpkgs.lib.strings.stringLength s) s; - haskellDeps = hpkgs: import ./Bild/Deps/Haskell.nix hpkgs; + haskellDeps = import ./Bild/Deps/Haskell.nix; mkGhcPackageSet = nixpkgs.haskell.packages.${ghcCompiler}.ghcWithHoogle; #mkGhcjsPackageSet = nixpkgs.haskell.packages.${ghcjsCompiler}.ghcWithPackages; @@ -29,7 +29,9 @@ let wai # can remove when removed from Biz.Log ]); in rec { - inherit (nixpkgs) lib stdenv pkgs sources; + inherit (nixpkgs) lib stdenv sources; + + inherit mkGhcPackageSet; # a standard nix build for `bild` - this should be the only hand-written # builder we need @@ -135,7 +137,7 @@ in rec { # installPhase = "exit 0"; # } // { env = ghcjs; }; - env = pkgs.mkShell { + env = nixpkgs.pkgs.mkShell { name = "bizdev"; buildInputs = with nixpkgs.pkgs; [ # this should just be dev tools @@ -163,5 +165,7 @@ in rec { os = cfg: (nixpkgs.nixos (args: cfg)).toplevel; - image = pkgs.dockerTools.buildImage; + pkgs = { inherit (nixpkgs) git; }; + + image = nixpkgs.pkgs.dockerTools.buildImage; } |