mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 06:12:58 +00:00
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;
|
||
|
}
|