11 lines
220 B
Nix
11 lines
220 B
Nix
|
{stdenv}:
|
||
|
|
||
|
args:
|
||
|
|
||
|
stdenv.mkDerivation ({
|
||
|
name = if args ? name then args.name else baseNameOf (toString args.src);
|
||
|
builder = ./generic-substituter.sh;
|
||
|
substitute = ./substitute.sh;
|
||
|
inherit (args) src;
|
||
|
} // args)
|