mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 06:17:52 +00:00
makeBinaryWrapper: Make tests discoverable to OfBorg
Move makeBinaryWrapper tests to pkgs.makeBinaryWrapper.passthru.tests, since OfBorg doesn't discover/skips the tests in the previous location.
This commit is contained in:
parent
3104da4085
commit
f7b5083cb6
@ -35,8 +35,6 @@ with pkgs;
|
||||
|
||||
macOSSierraShared = callPackage ./macos-sierra-shared {};
|
||||
|
||||
make-binary-wrapper = callPackage ./make-binary-wrapper { inherit makeBinaryWrapper; };
|
||||
|
||||
cross = callPackage ./cross {};
|
||||
|
||||
php = recurseIntoAttrs (callPackages ./php {});
|
||||
|
@ -696,7 +696,10 @@ with pkgs;
|
||||
--replace " @CC@ " " ${cc}/bin/cc ${san} "
|
||||
'';
|
||||
in
|
||||
makeSetupHook { deps = [ dieHook ]; } script;
|
||||
makeSetupHook {
|
||||
deps = [ dieHook ];
|
||||
substitutions.passthru.tests = callPackage ../test/make-binary-wrapper { inherit makeBinaryWrapper; };
|
||||
} script;
|
||||
in
|
||||
lib.makeOverridable f {
|
||||
cc = stdenv.cc;
|
||||
|
Loading…
Reference in New Issue
Block a user