mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
test: Ignore packaging-overriding check on darwin for now
This commit is contained in:
parent
48fb6fdde9
commit
03efba30da
1 changed files with 12 additions and 9 deletions
21
flake.nix
21
flake.nix
|
@ -238,15 +238,18 @@
|
||||||
nix = self.packages.${system}.nix;
|
nix = self.packages.${system}.nix;
|
||||||
in
|
in
|
||||||
assert (nix.appendPatches [ pkgs.emptyFile ]).libs.nix-util.src.patches == [ pkgs.emptyFile ];
|
assert (nix.appendPatches [ pkgs.emptyFile ]).libs.nix-util.src.patches == [ pkgs.emptyFile ];
|
||||||
# If this fails, something might be wrong with how we've wired the scope,
|
if pkgs.stdenv.buildPlatform.isDarwin then
|
||||||
# or something could be broken in Nixpkgs.
|
lib.warn "packaging-overriding check currently disabled because of a permissions issue on macOS" pkgs.emptyFile
|
||||||
pkgs.testers.testEqualContents {
|
else
|
||||||
assertion = "trivial patch does not change source contents";
|
# If this fails, something might be wrong with how we've wired the scope,
|
||||||
expected = "${./.}";
|
# or something could be broken in Nixpkgs.
|
||||||
actual =
|
pkgs.testers.testEqualContents {
|
||||||
# Same for all components; nix-util is an arbitrary pick
|
assertion = "trivial patch does not change source contents";
|
||||||
(nix.appendPatches [ pkgs.emptyFile ]).libs.nix-util.src;
|
expected = "${./.}";
|
||||||
};
|
actual =
|
||||||
|
# Same for all components; nix-util is an arbitrary pick
|
||||||
|
(nix.appendPatches [ pkgs.emptyFile ]).libs.nix-util.src;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
// (lib.optionalAttrs (builtins.elem system linux64BitSystems)) {
|
// (lib.optionalAttrs (builtins.elem system linux64BitSystems)) {
|
||||||
dockerImage = self.hydraJobs.dockerImage.${system};
|
dockerImage = self.hydraJobs.dockerImage.${system};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue