You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stderr:
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «string»:1:45:
1| let pname="scribe";version="0.0.1";in(import<nixpkgs>{}).fetchFromGitHub {
| ^
2| owner = "mergestat";
(use '--show-trace' to show detailed location information)
I am planning to add a flag and configuration option to override nixpkgs to something other than <nixpkgs>, e.g. ./.
something needs to be done for nurl as well since it also uses <nixpkgs> for fetchers implemented with fod like fetchsvn
Activity
figsoda commentedon Feb 1, 2023
I am planning to add a flag and configuration option to override nixpkgs to something other than
<nixpkgs>, e.g../.something needs to be done for nurl as well since it also uses
<nixpkgs>for fetchers implemented with fod likefetchsvnfigsoda commentedon Feb 3, 2023
0ff4f8c allowed changing nixpkgs to something other than
<nixpkgs>with either--nixpkgsor thenixpkgsconfignixos-discourse commentedon Feb 6, 2023
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nix-init-generate-nix-packages-from-urls-with-hash-prefetching-dependency-inference-license-detection-and-more/25035/12