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

flake inputs nixpkgs #223

Open
jamesdbrock opened this issue Jun 5, 2023 · 2 comments
Open

flake inputs nixpkgs #223

jamesdbrock opened this issue Jun 5, 2023 · 2 comments

Comments

@jamesdbrock
Copy link
Collaborator

jamesdbrock commented Jun 5, 2023

I definitely don't want to block this, but importing nixpkgs from the classic file makes stuff like inputs.easy-purescript.inputs.nixpkgs.follows = "nixpkgs"; impossible

Originally posted by @voidus in #134 (comment)

# TODO pinned.nix could be a flake input.nixpkgs instead.
pkgs = import ./pinned.nix { inherit system; };

@jamesdbrock jamesdbrock changed the title flake imports nixpkgs flake inputs nixpkgs Jun 5, 2023
@jamesdbrock
Copy link
Collaborator Author

This could be an intermediate step for transitioning from classic Nix to flakes https://nixos.wiki/wiki/Flakes#Accessing_flakes_from_Nix_expressions

@jamesdbrock
Copy link
Collaborator Author

I guess flakes are still technically experimental though so no rush.

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

No branches or pull requests

1 participant