!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
9 Nov 2023
@wisw:im.skytel.eewisw joined the room.14:27:08
@szucsitg:matrix.orgszucsitg

I am trying to build a frontend with mkYarnPackage but it fails on download for this lockfile

# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"duo_web_sdk@https://github.com/duosecurity/duo_web_sdk#v2.9":
  version "2.7.0"
  resolved "https://github.com/duosecurity/duo_web_sdk#378e855ce4a1de1d1b2f7fd60465e564b3e9fbda"

The error is:

error: hash mismatch in fixed-output derivation '/nix/store/yxmkgwcrvzfmhhxjqkrcnd49fr8fv1bi-duosecurity_duo_web_sdk.drv':
         specified: sha1-N46FXOSh3h0bL3/WBGXlZLPp+9o=
            got:    sha1-DbsHW3BaLQrtZoh0x5znwdK9xAc=

I'm not sure why the hash doesn't align

15:29:00
@c0ba1t:matrix.orgCobaltThat looks interesting, Have you tried to refresh the npmDeps Hash?15:34:42
@szucsitg:matrix.orgszucsitg I'm not defining it's just:
mkYarnPackage {
name = "node-modules";
src=./.;
}
15:40:15
@lily:lily.flowersLily Foster
In reply to @szucsitg:matrix.org

I am trying to build a frontend with mkYarnPackage but it fails on download for this lockfile

# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"duo_web_sdk@https://github.com/duosecurity/duo_web_sdk#v2.9":
  version "2.7.0"
  resolved "https://github.com/duosecurity/duo_web_sdk#378e855ce4a1de1d1b2f7fd60465e564b3e9fbda"

The error is:

error: hash mismatch in fixed-output derivation '/nix/store/yxmkgwcrvzfmhhxjqkrcnd49fr8fv1bi-duosecurity_duo_web_sdk.drv':
         specified: sha1-N46FXOSh3h0bL3/WBGXlZLPp+9o=
            got:    sha1-DbsHW3BaLQrtZoh0x5znwdK9xAc=

I'm not sure why the hash doesn't align

what is the hash in the lockfile? it's not in your snippet
15:43:29
@szucsitg:matrix.orgszucsitgIf you start a new yarn project it's getting added like this 🤷15:45:33
@lily:lily.flowersLily FosterIs that the entire file?15:46:13
@szucsitg:matrix.orgszucsitgYes, that's my full test repo lock file. The original project has like 3k deps, I'm trying to isolate the issue15:47:05
@lily:lily.flowersLily Foster
In reply to @szucsitg:matrix.org
I'm not defining it's just:
mkYarnPackage {
name = "node-modules";
src=./.;
}
And this is your entire derivation?
15:47:56
@szucsitg:matrix.orgszucsitg No, it's not. But it doesn't get to mkDerivation that would depend on the node-modules 15:48:57

Show newer messages


Back to Room ListRoom Version: 6