mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
tests.overriding: add overridePythonAttrs-plain
This commit is contained in:
@@ -465,6 +465,10 @@ let
|
||||
expr = (applyOverridePythonAttrs (applyOverridePythonAttrs package-stub)).overridePythonAttrsFlag;
|
||||
expected = 2;
|
||||
};
|
||||
overridePythonAttrs-plain = {
|
||||
expr = (package-stub.overridePythonAttrs { overridePythonAttrsFlag = 0; }).overridePythonAttrsFlag;
|
||||
expected = 0;
|
||||
};
|
||||
overrideAttrs-overridePythonAttrs-test-overrideAttrs = {
|
||||
expr = {
|
||||
inherit (applyOverridePythonAttrs (overrideAttrsFooBar package-stub))
|
||||
|
||||
Reference in New Issue
Block a user