From 9a62c51fdfa2f73d66497a964932afcd6aa96048 Mon Sep 17 00:00:00 2001 From: Victor Borja Date: Sat, 14 Aug 2021 14:46:00 -0500 Subject: Fix import path. Trying to create a simple flake with input: ``` { inputs.nixpkgs-lib.url = "github:NixOS/nixpkgs?dir=lib"; outputs = {nixpkgs-lib, ...}: { }; } ``` Fails when trying to evaluate the nixpkgs-lib flake with an error like: ``` error: getting status of '/nix/store/xxxx-source/lib/lib': No such file or directory (use '--show-trace' to show detailed location information) ``` --- lib/flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/flake.nix') diff --git a/lib/flake.nix b/lib/flake.nix index f05bd40960a..0b5e54d547c 100644 --- a/lib/flake.nix +++ b/lib/flake.nix @@ -1,5 +1,5 @@ { description = "Library of low-level helper functions for nix expressions."; - outputs = { self }: { lib = import ./lib; }; + outputs = { self }: { lib = import ./.; }; } -- cgit 1.4.1