nix icon indicating copy to clipboard operation
nix copied to clipboard

`builtins.getFlake` should be able to accept store path

Open gytis-ivaskevicius opened this issue 3 years ago • 3 comments

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

gytis-ivaskevicius avatar Mar 25 '21 17:03 gytis-ivaskevicius

I marked this as stale due to inactivity. → More info

stale[bot] avatar Sep 21 '21 22:09 stale[bot]

(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.)

NiklasGollenstede avatar Apr 05 '22 18:04 NiklasGollenstede

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.

matshch avatar May 06 '24 20:05 matshch