https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
7 lines
184 B
Nix
7 lines
184 B
Nix
{ symlinkJoin, kdevelop-unwrapped, plugins ? null }:
|
|
|
|
symlinkJoin {
|
|
name = "kdevelop-with-plugins";
|
|
|
|
paths = [ kdevelop-unwrapped ] ++ (if plugins != null then plugins else []);
|
|
}
|