mirror of
https://github.com/NixOS/nix.git
synced 2025-12-20 07:51:07 +01:00
turn 'derivation has incorrect deferred output' into warning
this breaks nix develop when using a stable nix version Update src/libstore/derivations.cc Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
907a5761fa
commit
623f3d321e
2 changed files with 20 additions and 9 deletions
|
|
@ -174,6 +174,7 @@ TEST_F(FillInOutputPathsTest, throwsOnIncorrectInputAddressedPath)
|
|||
ASSERT_THROW(drv.fillInOutputPaths(*store), Error);
|
||||
}
|
||||
|
||||
#if 0
|
||||
TEST_F(FillInOutputPathsTest, throwsOnIncorrectEnvVar)
|
||||
{
|
||||
auto wrongPath = StorePath{"c015dhfh5l0lp6wxyvdn7bmwhbbr6hr9-wrong-name"};
|
||||
|
|
@ -195,6 +196,7 @@ TEST_F(FillInOutputPathsTest, throwsOnIncorrectEnvVar)
|
|||
|
||||
ASSERT_THROW(drv.fillInOutputPaths(*store), Error);
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST_F(FillInOutputPathsTest, preservesDeferredWithInputDrvs)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue