Revert "top-level: use callPackages where inheriting packages"#281932
Revert "top-level: use callPackages where inheriting packages"#281932NickCao merged 1 commit intoNixOS:masterfrom
Conversation
Closes NixOS#281680. This reverts commit 99159b6.
|
I went through and checked each of these, and I think most of them should stay. The only ones that should be reverted are:
These 3 use All of the others don't use I'll open another PR that just reverts those. |
|
I guess this has something to do with how the package set is actually called, so we have to evaluate the use of |
I think we should instead formalize how to construct these package sets. |
|
Okay, that makes sense. I won't make any changes in that case. |
|
Why did you revert everything? Someone already dug up which packages would need this removed and which don't and where my oversight was im the initial change. Also one hour is not enough time to react. I would have created a fix for this now which wouldn't have broken other uses. Now I must create a PR with everything except the Citrix, netbox and plik or otherwise my config won't evaluate and I cannot fix it in my config....
I think it always needs to be used when callPackage isn't used in an attrSet and is is inherited. After I found the third package which didn't use this correct, I just converted all of them at once in the knowledge that it would just work and that ofborg would complain if it wouldn't. |
otherwise those packages cannot be overriden Resubmition because of revert in NixOS#281932
|
Can you please take a look at #282015 before nixos-unstable advances? Thanks! |
otherwise those packages cannot be overriden Resubmition because of revert in NixOS#281932 (cherry picked from commit a276e8b)
Description of changes
Closes #281680.
This reverts commit 99159b6.
@SuperSandro2000 Do you have more details about the use case for
callPackages? Maybe there's a way both use cases can be supported.I would like to write a test for the Citrix Workspace override, but the way I read the required manual steps I don't think it would be legal.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.