Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process nix.conf options in "new" commands, add test #1302

Merged
merged 2 commits into from Apr 12, 2017

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Apr 5, 2017

Without this (minor) change, the options set using "--option"
or read from nix.conf were parsed but not used.

Also touchup the timeout test derivations so they don't trivially fail
by not creating any outputs.

@dtzWill
Copy link
Member Author

dtzWill commented Apr 5, 2017

Without this, the various command like "nix copy" are unaware of many essential configuration parameters. In particular (the reason I chased this down), the "netrc-file" won't be used preventing use of these commands with caches behind basic auth.

Without this (minor) change, the options set using "--option"
or read from nix.conf were parsed but not used.
Timeout tests rely on failed build to determine success,
so make sure these derivations (silent in particular)
don't fail regardless of timeout behavior.
@domenkozar
Copy link
Member

@edolstra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants