8000 Fails without NIX_PATH set · Issue #14 · nix-community/nix-init · GitHub
[go: up one dir, main page]

Skip to content

Fails without NIX_PATH set #14

Closed
Closed

Description

@domenkozar
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)

Activity

  1. added
    enhancement
    good first issue
    on Feb 1, 2023
  2. figsoda commented on Feb 1, 2023

    @figsoda
    Member

    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

  3. figsoda commented on Feb 3, 2023

    @figsoda
    Member

    0ff4f8c allowed changing nixpkgs to something other than <nixpkgs> with either --nixpkgs or the nixpkgs config

  4. nixos-discourse commented on Feb 6, 2023

    @nixos-discourse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0