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

Niv ? Npins? #1001

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Niv ? Npins? #1001

merged 1 commit into from
Jun 17, 2024

Conversation

jd1t25
Copy link
Contributor

@jd1t25 jd1t25 commented Jun 17, 2024

Hi , I am new and still learning,
Following the wiki , during "nix-build" it throws error

in default.nix
sources ? import ./nix/sources.nix,
nix/sources.nix': No such file or directory

before that we run npin
nix-shell -p npins --run "npins init --bare; npins add github nixos nixpkgs --branch nixos-23.11"

tree npins

npins
├── default.nix
└── sources.json

which clearly doesn't what sources.nix

after researching on its github , i found its alternative niv
then reading its wiki and running this
nix-shell -p niv --run "niv init; niv add NixOS/nixpkgs -n nixpkgs -b nixos-23.11"

tree niv

nix
├── sources.json
└── sources.nix

Either use niv or npin
( Or i mess up something big , and this pr just a mistake)

@jd1t25 jd1t25 requested a review from a team as a code owner June 17, 2024 15:35
Copy link
Collaborator

@fricklerhandwerk fricklerhandwerk left a comment

Choose a reason for hiding this comment

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

Ah yes, thanks a lot - I missed that spot when changing things from niv to npins.

@fricklerhandwerk fricklerhandwerk enabled auto-merge (squash) June 17, 2024 21:46
@fricklerhandwerk fricklerhandwerk merged commit 8f0c7f9 into NixOS:master Jun 17, 2024
5 checks passed
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.

None yet

2 participants