diff options
author | Victor Borja <vborja@apache.org> | 2021-08-14 14:46:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-14 14:46:00 -0500 |
commit | 9a62c51fdfa2f73d66497a964932afcd6aa96048 (patch) | |
tree | a7ee10389e8d9a57b74d3381b10dcdfcb2f26a36 /lib | |
parent | a55646b8a8a969f6de4d55510a5b439d9533978b (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.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/flake.nix b/lib/flake.nix index f05bd40960a87..0b5e54d547c50 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 ./.; }; } |