nix-community / napalm

Support for building npm packages in Nix and lightweight npm registry [maintainer=?]
MIT License
104 stars 17 forks source link

ci: Use GitHub actions #61

Closed jtojnar closed 8 months ago

jtojnar commented 8 months ago

CircleCI shows errors.

jtojnar commented 8 months ago

Looking at the CircleCI failure, apparently it is the consequence of using library function from newer Nixpkgs version without bumping the nixpkgs dependency in Niv:

error:
       … while calling the 'derivationStrict' builtin

         at /derivation-internal.nix:9:12:

            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'deps-alias'
         whose name attribute is located at /nix/store/awfmbaljbaf2j14h6v9ny3zylfbv0x1s-source/pkgs/build-support/trivial-builders.nix:7:14

       … while evaluating attribute 'buildCommand' of derivation 'deps-alias'

         at /nix/store/awfmbaljbaf2j14h6v9ny3zylfbv0x1s-source/pkgs/build-support/trivial-builders.nix:7:14:

            6|     stdenv.mkDerivation ({
            7|       inherit name buildCommand;
             |              ^
            8|       passAsFile = [ "buildCommand" ];

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attribute 'pipe' missing

       at /home/circleci/project/default.nix:196:12:

          195|           ];
          196|         in lib.pipe (packageLock.packages or {}) [
             |            ^
          197|           # filter out the top-level package, which has an empty name
       Did you mean zip?
jtojnar commented 8 months ago

Closing in favour of #51