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.
This commit is contained in:
Vladimír Čunát 2016-01-10 15:17:33 +01:00
parent 2e78e19de0
commit f50d80f627

View File

@ -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}