From 5632a445619f2f275951fbaf5523953fc93b8a81 Mon Sep 17 00:00:00 2001 From: pennae Date: Fri, 21 Jan 2022 13:18:41 +0100 Subject: make a flake --- util/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'util/default.nix') 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 {} }: +{ 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 ]); } -- cgit v1.2.3