avoid exposing all of nixpkgs as an output
This commit is contained in:
parent
e0b6671401
commit
41354f7541
12
flake.nix
12
flake.nix
|
@ -13,11 +13,15 @@
|
||||||
overlays.default = final: prev: with final; {
|
overlays.default = final: prev: with final; {
|
||||||
uninsane-dot-org = callPackage ./default.nix { };
|
uninsane-dot-org = callPackage ./default.nix { };
|
||||||
};
|
};
|
||||||
packages.x86_64-linux = pkgs;
|
packages.x86_64-linux = {
|
||||||
|
# avoid exposing ALL of nixpkgs
|
||||||
|
inherit (pkgs) uninsane-dot-org;
|
||||||
|
};
|
||||||
|
|
||||||
defaultPackage.x86_64-linux = uninsane-dot-org;
|
defaultPackage.x86_64-linux = uninsane-dot-org;
|
||||||
devShells.default = mkShell {
|
# doesn't work... ?
|
||||||
buildInputs = with uninsane-dot-org; (buildInputs ++ nativeBuildInputs);
|
# devShells.default = pkgs.mkShell {
|
||||||
};
|
# buildInputs = with uninsane-dot-org; (buildInputs ++ nativeBuildInputs);
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue