hlolli / clj2nix

Convert deps.edn to a nix expression
GNU Affero General Public License v3.0
41 stars 13 forks source link

The installation of nix-prefetch-github seems to have changed slightly. #19

Open PlumpMath opened 3 years ago

PlumpMath commented 3 years ago

Hello hlolli. Thanks.

building '/nix/store/bg2h31q4j4ff3km4w9n29hqikghclayn-clj2nix.drv'...

trying https://github.com/hlolli/clj2nix/archive/e6d09dd8c5cda68eb0534bd8501f2d5dcd7b2e95.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 156 100 156 0 0 2943 0 --:--:-- --:--:-- --:--:-- 2943 100 25784 0 25784 0 0 68211 0 --:--:-- --:--:-- --:--:-- 68211 unpacking source archive /private/tmp/nix-build-clj2nix.drv-0/e6d09dd8c5cda68eb0534bd8501f2d5dcd7b2e95.tar.gz error: while evaluating the attribute 'passAsFile' of the derivation 'pnix' at /nix/store/1xl4yrp6yw69j9kyxdb7bby64vp4wwnj-nixpkgs-21.11pre294098.4df31757808/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11: while evaluating the attribute 'passAsFile' at /nix/store/1xl4yrp6yw69j9kyxdb7bby64vp4wwnj-nixpkgs-21.11pre294098.4df31757808/nixpkgs/pkgs/build-support/buildenv/default.nix:77:5: while evaluating the attribute 'installPhase' of the derivation 'clj2nix-1.0.7' at /nix/store/1xl4yrp6yw69j9kyxdb7bby64vp4wwnj-nixpkgs-21.11pre294098.4df31757808/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11: while evaluating 'makeClasspaths' at /nix/store/sr70gvqwiql179j5jd76j9ay94drd4zm-clj2nix/deps.nix:30:24, called from /nix/store/sr70gvqwiql179j5jd76j9ay94drd4zm-clj2nix/default.nix:7:15: while evaluating the derivation attribute 'name' at /nix/store/1xl4yrp6yw69j9kyxdb7bby64vp4wwnj-nixpkgs-21.11pre294098.4df31757808/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11: while evaluating the attribute 'name' at /nix/store/1xl4yrp6yw69j9kyxdb7bby64vp4wwnj-nixpkgs-21.11pre294098.4df31757808/nixpkgs/pkgs/build-support/fetchurl/default.nix:124:3: attribute 'lib' missing, at /nix/store/8qsbrv8y6ifw1icmr9gv723m8g5krygi-default.nix:42:10

hlolli commented 3 years ago

thanks! Could be there was stdenv.lib there (now removed I guess from stdenv). Will look into this.