diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-08-24 20:42:00 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-08-25 10:00:35 -0700 |
commit | 4ffe91a29d5713c3d4b1f6faf1afe56431ee66c5 (patch) | |
tree | 40a10f66d15bd25973b925b6f25e955849696ed7 | |
parent | b5f2c5f132e05537330f1ba668e57e809a2e1ad6 (diff) |
qtile: restore derivation name
-rw-r--r-- | pkgs/applications/window-managers/qtile/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/qtile/default.nix b/pkgs/applications/window-managers/qtile/default.nix index cd7b5a159e2a5..ae62cdbbba143 100644 --- a/pkgs/applications/window-managers/qtile/default.nix +++ b/pkgs/applications/window-managers/qtile/default.nix @@ -10,7 +10,7 @@ let pythonPackages = python.pkgs; unwrapped = pythonPackages.buildPythonPackage rec { - name = "qtile-${version}"; + pname = "qtile"; version = "0.18.0"; src = fetchFromGitHub { @@ -61,6 +61,8 @@ let }; in (python.withPackages (ps: [ unwrapped ])).overrideAttrs (_: { + # otherwise will be exported as "env", this restores `nix search` behavior + name = "${unwrapped.pname}-${unwrapped.version}"; # export underlying qtile package passthru = { inherit unwrapped; }; }) |