mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
18e5db37bf
trivial derivation
13 lines
326 B
Nix
13 lines
326 B
Nix
{ stdenvNoCC }:
|
|
|
|
args:
|
|
|
|
# see the substituteAll in the nixpkgs documentation for usage and constaints
|
|
stdenvNoCC.mkDerivation ({
|
|
name = if args ? name then args.name else baseNameOf (toString args.src);
|
|
builder = ./substitute-all.sh;
|
|
inherit (args) src;
|
|
preferLocalBuild = true;
|
|
allowSubstitutes = false;
|
|
} // args)
|