Skip to content
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

[nur-ci] raises error in prescence of pkgs.replaceDependency #169

Open
augu5te opened this issue Dec 20, 2019 · 1 comment
Open

[nur-ci] raises error in prescence of pkgs.replaceDependency #169

augu5te opened this issue Dec 20, 2019 · 1 comment

Comments

@augu5te
Copy link
Contributor

augu5te commented Dec 20, 2019

Packages based on pkgs.replaceDependency in a nur-repo/default.nix raise a NUR-CI error but work locally when incriminated nur-repo is use thanks overriding with repoOverrides .

The following in nur-repo/default.nix

bs-slurm = pkgs.replaceDependency {
     drv = slurm-multiple-slurmd;
     oldDependency = pkgs.glibc;
     newDependency = glibc-batsky;
   };

Gives the NUR-CI error:

INFO:nur.update:Evaluate repository kapack
error: while evaluating anonymous function at /nix/store/qvzj27il1373gki369jm3zg2vzr9xg69-nixpkgs-20.03pre204216.cc6cf0a96a6/nixpkgs/pkgs/build-support/replace-dependency.nix:20:1, called from /nix/store/2x2q6y0rps9sml7ff0z3g80k2za55f6h-source/default.nix:65:14:
cannot import '/nix/store/rp3n56hnxp85widn75hlj08f9gbk4yp2-references.nix', since path '/nix/store/6nkfqg35rr5if36lm9lzz8bdvb9fsc98-references.nix.drv' is not valid, at /nix/store/qvzj27il1373gki369jm3zg2v
@Mic92
Copy link
Member

Mic92 commented Dec 21, 2019

So it seems that it does some import-derivation which seems to be blocked by our checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants