diff options
author | lassulus <lassulus@lassul.us> | 2018-12-01 04:20:50 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-12-04 23:44:06 +0100 |
commit | 140bdfdf6c87c1822e0c4ec8f497a20ad1d4cf19 (patch) | |
tree | 5fd7d7eaaa0d6423fc83d02f74e68392114e016e /pkgs/populate | |
parent | eb68146cc4848cfc0c0339c72a44a96fdeb4a1de (diff) |
populate: add derivation typev1.10.0
Diffstat (limited to 'pkgs/populate')
-rw-r--r-- | pkgs/populate/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix index 939ffb3..dcb26b9 100644 --- a/pkgs/populate/default.nix +++ b/pkgs/populate/default.nix @@ -20,6 +20,10 @@ let fi ''; + pop.derivation = target: source: shell' target /* sh */ '' + nix-build -E ${quote source.text} -o ${quote target.path} + ''; + pop.file = target: source: let configAttrs = ["useChecksum"]; config = filterAttrs (name: _: elem name configAttrs) source; |