devcontainer: init

This commit is contained in:
zimbatm 2019-12-15 15:54:10 +01:00
parent f90912f967
commit 751d7a6714
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
12 changed files with 322 additions and 16 deletions

View file

@ -3,7 +3,7 @@
, cacert
, coreutils
, curl
, git
, gitReallyMinimal
, gnutar
, gzip
, iana-etc
@ -11,21 +11,6 @@
, xz
}:
let
# gitMinimal still ships with perl and python
gitReallyMinimal = (
git.override {
perlSupport = false;
pythonSupport = false;
withManual = false;
withpcre2 = false;
}
).overrideAttrs (
_: {
# installCheck is broken when perl is disabled
doInstallCheck = false;
}
);
image = dockerTools.buildImageWithNixDb {
inherit (nix) name;