11 lines
324 B
Nix
11 lines
324 B
Nix
{ runCommandLocal, writeText }:
|
|
let
|
|
filePkg = writeText "shellvaculib.bash" (builtins.readFile ./shellvaculib.bash);
|
|
in
|
|
runCommandLocal "shellvaculib" { passthru.file = filePkg; } ''
|
|
mkdir -p $out/share
|
|
mkdir -p $out/bin
|
|
ln -s ${filePkg} $out/share/shellvaculib.bash
|
|
ln -s ${filePkg} $out/bin/shellvaculib.bash
|
|
''
|