-
Notifications
You must be signed in to change notification settings - Fork 247
Add nixpkgs-unstable #1025
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
Add nixpkgs-unstable #1025
Conversation
bors try |
bors try- |
bors try |
tryTimed out. |
bors try |
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.
lgtm
tryBuild succeeded: |
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.
Need to update the version support matrix too.
@@ -25,4 +25,5 @@ | |||
allOverlays = import ./overlays args; | |||
nixpkgsArgs = { inherit config overlays system; }; | |||
pkgs = import sources.nixpkgs nixpkgsArgs; | |||
pkgs-unstable = import sources.nixpkgs-unstable nixpkgsArgs; |
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.
Not sure this should still be here
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 mainly use pkgs
for debugging haskell.nix issues, by running things like:
nix-build -E '(import ./. {}).pkgs.haskell-nix.tool "ghc8103" "hello" "latest"'
I wanted to be able to continue to do this now I have upgraded to BigSur.
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.
Actually, now that I look at this, it's a bit weird that pkgs
is there too. I get that these are useful for debugging... but surely our users shouldn't be using these attributes?
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 wonder if we should rename them debug
and debug-unstable
to make that clear.
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.
Or add debug.nix
with attributes useful for debugging? The problem is the dual duty of default.nix
as the place for all useful attributes and also our de-facto external interface.
#1028 for the doc |
No description provided.