-
Notifications
You must be signed in to change notification settings - Fork 77
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
New update mechanism #68
Conversation
Note to self: it'd be better to discarded the |
@@ -11,6 +11,6 @@ export NIX_PATH="nixpkgs=./nix" | |||
echo "Building" | |||
|
|||
# Build and create a root | |||
nix-build --no-link | |||
nix-build --sandbox --no-link --max-jobs 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it work with the default Nix installation (sanboxing is not available)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean default Nix installation? On both Linux and macOS sandbox works for me by using the default installer (and nothing more) (albeit with some tweaks on macOS).
We do want to test that everything works with the sandbox; if someone doesn't have support for the sandbox they can simply run nix-build
.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though sandbox was not working by using the default installer. So, if it is working by default, that's fine with me.
Fixes #36 .
Got a few things to clean up, but this will greatly facilitate the move to multiple fetchers, and fixes a few bugs.
Update
, which takes care of lazy loading the IO actions (not run if never read or if value will eventually be discarded)String
toText
Few things left to iron out:
foo
,bar
,baz
, etcCC @nlewo @michaelpj