Exclude testscripts from Flake build #2426
Open
+3
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This stops including a potentially-colliding 'updater' binary in the derivation.
Summary
When I tried to install Zen browser on my NixOS system via a flake (
zen-browser.url = "github:MarceColl/zen-browser-flake";
), I got a build error saying that zen-browser included a file that collides with a devbox file:My guess is that the zen-browser flake is also at fault (also errantly including a binary named
updater
) but this is where I looked (and figured out how to fix) first.How was it tested?
Re-ran the build via
nix build .
and verified that./result/bin/
now contains onlydevbox
. (It used to also contain a 1.7MB file calledupdater
.)