feat(package): nix-derivation-hash
This commit is contained in:
9
package/nix-derivation-hash/default.nix
Normal file
9
package/nix-derivation-hash/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
writeShellScriptBin,
|
||||
bash,
|
||||
}: let
|
||||
# Use folder name as name of this system
|
||||
name = builtins.baseNameOf ./.;
|
||||
in writeShellScriptBin name /* sh */ ''
|
||||
${bash}/bin/sh ${./${name}.sh} "$@"
|
||||
''
|
||||
Reference in New Issue
Block a user