summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVictor Borja <vborja@apache.org>2021-08-14 14:46:00 -0500
committerGitHub <noreply@github.com>2021-08-14 14:46:00 -0500
commit9a62c51fdfa2f73d66497a964932afcd6aa96048 (patch)
treea7ee10389e8d9a57b74d3381b10dcdfcb2f26a36 /lib
parenta55646b8a8a969f6de4d55510a5b439d9533978b (diff)
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) ```
Diffstat (limited to 'lib')
-rw-r--r--lib/flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/flake.nix b/lib/flake.nix
index f05bd40960a8..0b5e54d547c5 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 ./.; };
}