mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 12:30:36 -05:00
devcontainer: init
This commit is contained in:
19
overlay.nix
19
overlay.nix
@@ -9,4 +9,23 @@ in
|
||||
|
||||
# docker images must be lower-cased
|
||||
docker-nixpkgs = importDir (path: pkgs.callPackage path {}) ./images;
|
||||
|
||||
# used to build nix-env compatible user environments
|
||||
mkUserEnvironment = pkgs.callPackage ./lib/mkUserEnvironment.nix {};
|
||||
|
||||
# gitMinimal still ships with perl and python
|
||||
gitReallyMinimal = (
|
||||
pkgs.git.override {
|
||||
perlSupport = false;
|
||||
pythonSupport = false;
|
||||
withManual = false;
|
||||
withpcre2 = false;
|
||||
}
|
||||
).overrideAttrs (
|
||||
_: {
|
||||
# installCheck is broken when perl is disabled
|
||||
doInstallCheck = false;
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user