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

Select a nixpkgs revision? #1

Open
endgame opened this issue Mar 20, 2019 · 0 comments
Open

Select a nixpkgs revision? #1

endgame opened this issue Mar 20, 2019 · 0 comments

Comments

@endgame
Copy link

endgame commented Mar 20, 2019

It's great that you're using nix to ensure a reproducible software environment for your research, but your default.nix depends on whatever version of nixpkgs you currently have selected.

You can fix this by selecting a revision of https://github.com/NixOS/nixpkgs in default.nix. Here's an example from a recent nixpkgs master:

with import (builtins.fetchTarball {
  url = "https://github.com/NixOS/nixpkgs/archive/0a8d74d95761c32147a72f16954455e64f33ba13.tar.gz";
  sha256 = "09qsbbfqx5ar8grfrfzjl3nm8mgk8cv1pi8s64mhjr7dh6mp7h64";
});
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 a pull request may close this issue.

1 participant