forked from mirrors/nixpkgs
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:
parent
2e78e19de0
commit
f50d80f627
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue