diff options
Diffstat (limited to 'pkgs/applications/window-managers/qtile/default.nix')
-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; }; }) |