add devenv image (#81)

This commit is contained in:
Domen Kožar 2024-07-16 07:30:16 +01:00 committed by GitHub
parent e7ea2bae4f
commit 891a767f37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

11
images/devenv/default.nix Normal file
View file

@ -0,0 +1,11 @@
{ docker-nixpkgs
, devenv ? null
}:
(docker-nixpkgs.nix.override {
# only available since 24.05
extraContents = if devenv == null then [] else [ devenv ];
}).overrideAttrs (prev: {
meta = (prev.meta or { }) // {
description = "Nix and devenv image";
};
})