nix-unstable: transform into package

move the logic into the package
This commit is contained in:
zimbatm 2019-03-16 14:46:37 +01:00
parent f9c33c375e
commit 9c5e06ad07
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
2 changed files with 8 additions and 4 deletions

View file

@ -3,7 +3,7 @@ _: pkgs: {
buildCLIImage = pkgs.callPackage ./lib/buildCLIImage.nix {};
# docker images must be lower-cased
docker-nixpkgs = rec {
docker-nixpkgs = {
bash = pkgs.callPackage ./bash {};
busybox = pkgs.callPackage ./busybox {};
@ -12,9 +12,7 @@ _: pkgs: {
kubectl = pkgs.callPackage ./kubectl {};
kubernetes-helm = pkgs.callPackage ./kubernetes-helm {};
nix = pkgs.callPackage ./nix {};
nix-unstable = nix.override {
nix = pkgs.nixUnstable;
};
nix-unstable = pkgs.callPackage ./nix-unstable {};
};
}