diff options
author | lassulus <lassulus@lassul.us> | 2021-10-12 19:36:09 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-12 20:53:45 +0200 |
commit | 77c3aab5b860a952e9d83db56aefe23ee04ccebc (patch) | |
tree | c1c57e5c2485f4613ff5ce3dd7df6c5eb5f23512 /krebs/5pkgs/simple/htgen-imgur | |
parent | 780a04e991c46a111c38281fced75f9c38e972f8 (diff) |
pkgs: use relative stockholm.lib
Diffstat (limited to 'krebs/5pkgs/simple/htgen-imgur')
-rw-r--r-- | krebs/5pkgs/simple/htgen-imgur/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/krebs/5pkgs/simple/htgen-imgur/default.nix b/krebs/5pkgs/simple/htgen-imgur/default.nix index fe0b2ab04..f429ff7a6 100644 --- a/krebs/5pkgs/simple/htgen-imgur/default.nix +++ b/krebs/5pkgs/simple/htgen-imgur/default.nix @@ -1,5 +1,4 @@ -with import <stockholm/lib>; -{ attr, coreutils, exiv2, findutils, gnugrep, jq, nix, utillinux, stdenv }: +{ attr, coreutils, exiv2, findutils, gnugrep, jq, nix, stockholm, utillinux, stdenv }: stdenv.mkDerivation rec { pname = "htgen-imgur"; version = "1.0.0"; @@ -9,7 +8,7 @@ stdenv.mkDerivation rec { buildPhase = '' ( exec > htgen-imgur - echo PATH=${makeBinPath [ + echo PATH=${stockholm.lib.makeBinPath [ attr coreutils exiv2 @@ -18,7 +17,7 @@ stdenv.mkDerivation rec { jq nix utillinux ]} - echo STATEDIR=${shell.escape "\${STATEDIR-$HOME}"} + echo STATEDIR=${stockholm.lib.shell.escape "\${STATEDIR-$HOME}"} cat $src/htgen-imgur ) ''; |