Assertion failure maybeOutputPath #388
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#388
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Building a specific derivation (provided) which uses the impure-derivations experimental feature causes the maybeOutputPath assertion to fail, only with
nix-build
and not withnix build
.Steps To Reproduce
impure-derivations
experimental feature is turned on. It's possible you may also needca-derivations
.minimal.nix
with the contents below.nix-build minimal.nix
.Expected behavior
I expected the derivation to build successfully.
nix --version
outputnix (Lix, like Nix) 2.90.0-lixpre20240527-0b91a4b
Additional context
There's nothing special about the use of args, as far as I'm aware. It's just a shortcut to create a derivation that does very little, but should succeed; it's also used in the lix manual's example for impure-derivations.
ah oops, here's the error message
Intriguing that this throws the assert on the client side.
oh, fascinating