From 1f4324c3de95e7a1237abcf07e103248a7b7bcdd Mon Sep 17 00:00:00 2001 From: Jamie Quigley Date: Thu, 9 Jun 2022 14:33:08 +0100 Subject: [PATCH] build-support/makeDesktopItem: make overridable --- pkgs/build-support/make-desktopitem/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/make-desktopitem/default.nix b/pkgs/build-support/make-desktopitem/default.nix index e09fd0e20f22..af314aa338c8 100644 --- a/pkgs/build-support/make-desktopitem/default.nix +++ b/pkgs/build-support/make-desktopitem/default.nix @@ -4,7 +4,7 @@ # Please keep in spec order for easier maintenance. # When adding a new value, don't forget to update the Version field below! # See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html -{ name # The name of the desktop file +lib.makeOverridable ({ name # The name of the desktop file , type ? "Application" # version is hardcoded , desktopName # The name of the application @@ -115,4 +115,4 @@ writeTextFile { destination = "/share/applications/${name}.desktop"; text = builtins.concatStringsSep "\n" content; checkPhase = ''${buildPackages.desktop-file-utils}/bin/desktop-file-validate "$target"''; -} +})