fix(package): nix-derivation-hash: purify

This commit is contained in:
2025-07-24 19:24:31 +00:00
parent 6433dfccff
commit a7fbd59144
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -1,9 +1,13 @@
{
writeShellScriptBin,
bash,
nix,
}: let
# Use folder name as name of this system
name = builtins.baseNameOf ./.;
in writeShellScriptBin name /* sh */ ''
set -a
BIN_NIX_HASH="${nix}/bin/nix-hash"
set +a
${bash}/bin/sh ${./${name}.sh} "$@"
''