Why don't inputs use their pinned nixpkgs? #10
Unanswered
Iamvismorf
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
I also noticed most of the inputs are empty attrset |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hey, :) I'm sorry, I had not looked at this issue. I have not downloaded your zip, but I will try to help without opening that zip:
with-inputs does auto follow on all inputs, this is because most of the sources it supports are just a flattened list of inputs (like npins). So, a subflake.nixpkgs is being automatically following the root nixpkgs. Unless you also specify |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have attached a repro directory below. It is basically the dendritic-unflake/npins. However, I have replaced the
with-inputs.nixwith the default.nix from this repo andimport ./with-inputs.nix outputswithNow when I evaluate
inputs.nixos-stable.inputs.nixpkgsin nix-repl, it does not output the nixpkgs from testFlake/flake.lock and instead the nixpkgs from sources.nixpkgs if that makes senseSo, is this something that I don't understand or is it a bug?
npins.zip
Beta Was this translation helpful? Give feedback.
All reactions