behaviour of copy to ssh-ng remote confusing ('substitute-on-destination' vs 'builders-use-substitutes') #317
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#317
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
Using the nix3 copy command to copy to an ssh-ng host will ignore the substitute-on-destination option and instead look at the builders-use-substitutes option, which is very confusing.
Steps To Reproduce
Expected behavior
substitute-on-destination
should be respected fornix copy
operations whilebuilders-use-substitutes
should be respected for remote buildersnix --version
outputnix (Lix, like Nix) 2.90.0-lixpre20240505-47fb494
Additional context
This was first encountered in CppNix around a year ago, and this workaround was added in colmena:
beb157dcb6
Wow that is incredibly confusing! wtf!
I think this change is already in Lix?
64a269ef73
(I noticed that because I relied on the old behavior :D)
Oh whoops! then I didn't say anything (I had actually just searched for existing issues about this)