nix
nix copied to clipboard
`builtins.getFlake` should be able to accept store path
Is your feature request related to a problem? Please describe.
In my particular scenario, I am patching nixpkgs and using the patched version in my system configuration via nixpkgs.pkgs = patchesNixpkgs;
. This comes with certain limitations and I'd like to see the builtins.getFlake
function be implemented which could refer to a store path
Describe the solution you'd like
builtins.getFlake
should be able to accept store path
Describe alternatives you've considered https://github.com/NixOS/nix/issues/3920
I marked this as stale due to inactivity. → More info
(To remove the stale mark:)
Certainly not a deal-breaker, but for consistency (in the described situation, but probably also others), this would be nice to have! (And I currently don't see why it is disallowed.)
Another mention to un-stale this. It would greatly simplify the code if store paths were allowed, but there is another approach for the task that I am solving, so not a blocker.