mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
5808ac7148
* Propagate name automatically. svn path=/nixpkgs/trunk/; revision=1409
8 lines
153 B
Nix
8 lines
153 B
Nix
{name ? "", stdenv, dir, files}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit dir files;
|
|
name = if name == "" then dir.name else name;
|
|
builder = ./builder.sh;
|
|
}
|