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

This commit is contained in:
2025-07-24 19:24:31 +00:00
parent 52cb6b2410
commit 492597b7ab
2 changed files with 6 additions and 2 deletions

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} "$@"
''