-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
niv tries to unpack local dependency #337
Comments
Hi @yaitskov , I made a small demo that use a local source just fine without unpacking. In fact, I don't think niv is ever unpacking any sources. I would recommend checking how you are using this { sources ? import ./nix/sources.nix
, nixpkgs ? import sources.nixpkgs {}
, juice ? sources.juice
}:
{
test-command = nixpkgs.writeScriptBin "test-niv" ''
#! ${nixpkgs.bash}/bin/bash
echo '${juice}'
'';
} |
How to run the snippet above?
I think it is worth to mention nixpkgs repo version. I took master because I need HLS 1.4
I suspect the issue is caused by changes in nixpkgs itself. |
First, you should copy the script in the same folder containing the nix folder with sources.json and sources.nix.
or
Note that my file is named |
Hi,
niv revision "e0ca65c81a2d7a4d82a189f1e23a48d59ad42070"
sources.json:
Error
It was working before.
The text was updated successfully, but these errors were encountered: