Move Nix files into a nix directory
Move everything from `config` to the root level.
This commit is contained in:
parent
9f47df62b5
commit
69a397e624
124 changed files with 14 additions and 14 deletions
nix/lib/shared/scripts
16
nix/lib/shared/scripts/run.nix
Normal file
16
nix/lib/shared/scripts/run.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs }:
|
||||
|
||||
{
|
||||
name = "run";
|
||||
|
||||
runtimeInputs = with pkgs; [ bashInteractive ];
|
||||
|
||||
text = ''
|
||||
if [[ -e .ignored/run ]]; then
|
||||
.ignored/run "$@"
|
||||
exit $?
|
||||
fi
|
||||
|
||||
./run "$@"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue