Repository navigation
fetchnixpkgs: init - #26802
fetchnixpkgs: init#26802LnL7 wants to merge 1 commit into
Conversation
|
I think the chosen name is too generic. I use myself something similar but with |
|
I'm not sure what would be a better name for it. |
|
How about `fetchNixpkgsForIFD`. With Nix 1.12 this function can be written
with `fetchTarball`, however then it will require a different hash, which is
why I think it is important not to take the `fetchNixpkgs` name yet.
|
|
👎 on ad hoc fetch functions like this. See my recent comment on |
|
I'm not entirely happy with this either, the main idea behind this was making it easier to apply patches on top of nixpkgs. What do you think of the idea of adding some sort of support for patches to nix-channel or nixpkgs itself? I think it would we really nice if it was possible to do something like this, to apply some changes on top of a channel without having to maintain and rebase my own git branch. |
|
Closing because this won't go in. Regarding the discussion on patching Nixpkgs. If you make it a Nixpkgs feature you end up with recursion like you've shown here so if we don't want that then I suppose the only option is to make it a Nix feature. |
|
See #22058 for related work |
Motivation for this change
example
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandboxinnix.confon non-NixOS)