mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
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 New Issue
Block a user