mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
flake: Drop pre-commit
override
`pre-commit` builds fine with the flake's input nixpkgs on i686-linux.
This commit is contained in:
parent
ba96067535
commit
dd80f16376
1 changed files with 0 additions and 13 deletions
13
flake.nix
13
flake.nix
|
@ -179,19 +179,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = final.nixComponents2.nix-cli;
|
nix = final.nixComponents2.nix-cli;
|
||||||
|
|
||||||
# See https://github.com/NixOS/nixpkgs/pull/214409
|
|
||||||
# Remove when fixed in this flake's nixpkgs
|
|
||||||
pre-commit =
|
|
||||||
if prev.stdenv.hostPlatform.system == "i686-linux" then
|
|
||||||
(prev.pre-commit.override (o: {
|
|
||||||
dotnet-sdk = "";
|
|
||||||
})).overridePythonAttrs
|
|
||||||
(o: {
|
|
||||||
doCheck = false;
|
|
||||||
})
|
|
||||||
else
|
|
||||||
prev.pre-commit;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue