mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
neovim-unwrapped: use outputChecks
`disallowedRequisites` and friends will be ignored if `__structuredAttrs` is used. In Nix versions <2.24 and Lix <2.91 this happens silently, in newer versions a warning is printed. The solution is to use outputChecks.
This commit is contained in:
parent
e325795397
commit
6f4426f80f
|
@ -147,7 +147,12 @@ in {
|
|||
find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
|
||||
'';
|
||||
# check that the above patching actually works
|
||||
disallowedRequisites = [ stdenv.cc ] ++ lib.optional (lua != codegenLua) codegenLua;
|
||||
outputChecks = let
|
||||
disallowedRequisites = [ stdenv.cc ] ++ lib.optional (lua != codegenLua) codegenLua;
|
||||
in {
|
||||
out = { inherit disallowedRequisites; };
|
||||
debug = { inherit disallowedRequisites; };
|
||||
};
|
||||
|
||||
cmakeFlagsArray = [
|
||||
# Don't use downloaded dependencies. At the end of the configurePhase one
|
||||
|
|
Loading…
Reference in a new issue