summaryrefslogtreecommitdiff
path: root/util/default.nix
diff options
context:
space:
mode:
authorpennae <pennae.git@quasiparticle.net>2022-01-21 13:18:41 +0100
committerpennae <pennae.git@quasiparticle.net>2022-01-21 13:25:16 +0100
commit5632a445619f2f275951fbaf5523953fc93b8a81 (patch)
tree42fdcb9ad51ec76d983565b2aacd3669c5e5531b /util/default.nix
parent8e3cf434852e25a53a14aa5b4c7cdd02b54fc0cd (diff)
downloadseacrit-5632a445619f2f275951fbaf5523953fc93b8a81.tar.gz
seacrit-5632a445619f2f275951fbaf5523953fc93b8a81.tar.xz
seacrit-5632a445619f2f275951fbaf5523953fc93b8a81.zip
make a flake
Diffstat (limited to 'util/default.nix')
-rw-r--r--util/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/default.nix b/util/default.nix
index 688611b..f97784d 100644
--- a/util/default.nix
+++ b/util/default.nix
@@ -1,11 +1,13 @@
-{ pkgs ? import <nixpkgs> {} }:
+{ substituteAll
+, perl
+}:
-pkgs.substituteAll {
+substituteAll {
pname = "seacrit";
version = "0.0.1";
src = ./seacrit;
dir = "bin";
isExecutable = true;
- perl = pkgs.perl.withPackages (p: with p; [ JSON FileTemp ]);
+ perl = perl.withPackages (p: with p; [ JSON FileTemp ]);
}