diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-01-10 15:17:33 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-01-15 08:37:02 +0100 |
commit | f50d80f62763b2fd54ac328065dc70980d39bf74 (patch) | |
tree | 9ad43752bf6ee097ccb3b6b8e87c3e798297aac0 /pkgs/build-support | |
parent | 2e78e19de0da98b6ccf099eff82a2f19fe567d1a (diff) |
makeDesktopItem: change `name` of the derivations
The name wasn't suggesting what kind of stuff is in there; now it's the same as the name of the file that gets generated.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/make-desktopitem/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/make-desktopitem/default.nix b/pkgs/build-support/make-desktopitem/default.nix index d4baf17adf1b1..2f6c827d87580 100644 --- a/pkgs/build-support/make-desktopitem/default.nix +++ b/pkgs/build-support/make-desktopitem/default.nix @@ -13,10 +13,10 @@ }: stdenv.mkDerivation { - inherit name; + name = "${name}.desktop"; buildCommand = '' mkdir -p $out/share/applications - cat > $out/share/applications/$name.desktop <<EOF + cat > $out/share/applications/${name}.desktop <<EOF [Desktop Entry] Type=${type} Exec=${exec} |