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

made it possible to use NUR with without overrides #677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lolbinarycat
Copy link

this means you can use it directly from a channel or via a nix repl in a local clone.

channels allow nicer management of version updates, and this allows NUR to be used easily in at the user-level.

this means you can use it directly from a channel or via a nix repl in
a local clone.
@@ -1,6 +1,12 @@
{ nurpkgs ? import <nixpkgs> {} # For nixpkgs dependencies used by NUR itself
# Dependencies to call NUR repos with
, pkgs ? null
, pkgs ? import <nixpkgs>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we have this than

pkgs = if pkgs != null then pkgs else throw ''

becomes deadcode. So would probably should drop if if we want to allow this type of interface.

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.

2 participants