2016-09-27 13:28:11 +00:00
|
|
|
{ stdenvNoCC }:
|
2006-11-02 22:44:32 +00:00
|
|
|
|
|
|
|
args:
|
|
|
|
|
2016-04-23 15:55:20 +00:00
|
|
|
# see the substituteAll in the nixpkgs documentation for usage and constaints
|
2016-09-27 13:28:11 +00:00
|
|
|
stdenvNoCC.mkDerivation ({
|
2006-11-02 22:44:32 +00:00
|
|
|
name = if args ? name then args.name else baseNameOf (toString args.src);
|
2006-12-10 22:24:42 +00:00
|
|
|
builder = ./substitute-all.sh;
|
2006-11-02 22:44:32 +00:00
|
|
|
inherit (args) src;
|
2012-04-26 15:17:43 +00:00
|
|
|
preferLocalBuild = true;
|
2019-02-07 22:20:42 +00:00
|
|
|
allowSubstitutes = false;
|
2006-11-02 22:44:32 +00:00
|
|
|
} // args)
|