Yarn #3

Open
adriangl wants to merge 1 commits from yarn into main
Member

Tried building with yarn instead.

kinda unsure if this works.

node-modules builds at least.

Tried building with yarn instead. kinda unsure if this works. node-modules builds at least.
adriangl added 1 commit 2024-09-14 23:31:56 +02:00
Author
Member
@felixalb
Owner

I think @danio usually says to use something like https://git.pvv.ntnu.no/Drift/pvv-nixos-config/src/branch/main/flake.nix#L37-L42 rather than depending on flake-utils for this purpose.

Also;

$  nix build .#default
error: builder for '/nix/store/fzgjh27zg1jyipiq2hv3pih78wx44yvm-frontend.drv' failed with exit code 1;
       last 19 log lines:
       > install: skipping file '/dev/fd/63', as it was replaced while being copied
       > Running phase: unpackPhase
       > install: skipping file '/dev/fd/63', as it was replaced while being copied
       > unpacking source archive /nix/store/sk1rhkbp7x2q0z2fggdifkqxp3zxnbg5-317mfmnlsichpz3z90s6d8sv6711aby8-source
       > source root is 317mfmnlsichpz3z90s6d8sv6711aby8-source
       > Running phase: patchPhase
       > install: skipping file '/dev/fd/63', as it was replaced while being copied
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > install: skipping file '/dev/fd/63', as it was replaced while being copied
       > Running phase: configurePhase
       > install: skipping file '/dev/fd/63', as it was replaced while being copied
       > no configure script, doing nothing
       > Running phase: buildPhase
       > install: skipping file '/dev/fd/63', as it was replaced while being copied
yarn run v1.22.22
warning Skipping preferred cache folder "/homeless-shelter/Library/Caches/Yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/private/tmp/nix-build-frontend.drv-0/.yarn-cache-301".
error Command "build" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
       For full logs, run 'nix log /nix/store/fzgjh27zg1jyipiq2hv3pih78wx44yvm-frontend.drv'.
I think @danio usually says to use something like https://git.pvv.ntnu.no/Drift/pvv-nixos-config/src/branch/main/flake.nix#L37-L42 rather than depending on flake-utils for this purpose. Also; ``` $ nix build .#default error: builder for '/nix/store/fzgjh27zg1jyipiq2hv3pih78wx44yvm-frontend.drv' failed with exit code 1; last 19 log lines: > install: skipping file '/dev/fd/63', as it was replaced while being copied > Running phase: unpackPhase > install: skipping file '/dev/fd/63', as it was replaced while being copied > unpacking source archive /nix/store/sk1rhkbp7x2q0z2fggdifkqxp3zxnbg5-317mfmnlsichpz3z90s6d8sv6711aby8-source > source root is 317mfmnlsichpz3z90s6d8sv6711aby8-source > Running phase: patchPhase > install: skipping file '/dev/fd/63', as it was replaced while being copied > Running phase: updateAutotoolsGnuConfigScriptsPhase > install: skipping file '/dev/fd/63', as it was replaced while being copied > Running phase: configurePhase > install: skipping file '/dev/fd/63', as it was replaced while being copied > no configure script, doing nothing > Running phase: buildPhase > install: skipping file '/dev/fd/63', as it was replaced while being copied yarn run v1.22.22 warning Skipping preferred cache folder "/homeless-shelter/Library/Caches/Yarn" because it is not writable. warning Selected the next writable cache folder in the list, will be "/private/tmp/nix-build-frontend.drv-0/.yarn-cache-301". error Command "build" not found. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. For full logs, run 'nix log /nix/store/fzgjh27zg1jyipiq2hv3pih78wx44yvm-frontend.drv'. ```
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin yarn:yarn
git checkout yarn
Sign in to join this conversation.
No description provided.