mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
10 lines
406 B
Nix
10 lines
406 B
Nix
{ python3, qtile-unwrapped }:
|
|
(python3.withPackages (_: [ qtile-unwrapped ])).overrideAttrs (_: {
|
|
# otherwise will be exported as "env", this restores `nix search` behavior
|
|
name = "${qtile-unwrapped.pname}-${qtile-unwrapped.version}";
|
|
# export underlying qtile package
|
|
passthru = { unwrapped = qtile-unwrapped; };
|
|
# restore original qtile attrs
|
|
inherit (qtile-unwrapped) pname version meta;
|
|
})
|