Conflicts between yarn LICENSE and composer LICENSE
rahl14
FREEOP

a year ago

[ 4/12] RUN nix-env -if .nixpacks/nixpkgs-e24b4c09e963677b1beea49d411cd315a024ad3a.nix && nix-collect-garbage [ 4/12] RUN nix-env -if .nixpacks/nixpkgs-e24b4c09e963677b1beea49d411cd315a024ad3a.nix && nix-collect-garbage -d

"nix-env -if .nixpacks/nixpkgs-e24b4c09e963677b1beea49d411cd315a024ad3a.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100-d

-----

Running phase: unpackPhase

unpacking source archive /nix/store/vlvg5xhhbjr9lpgqwz1a21pfaajz3xgx-yarn-1.22.22.tgz

source root is package

setting SOURCE_DATE_EPOCH to timestamp 499162500 of file package/preinstall.js

Running phase: installPhase

building '/nix/store/lm6dqmwqwja1za6lcx5hmpg3qh8y6yn4-e24b4c09e963677b1beea49d411cd315a024ad3a-env.drv'...

error: collision between /nix/store/qn1wvz93s3c4f9c74qzb0rpgyrwip6kn-yarn/LICENSE' and /nix/store/rbbaws9k85zah0d77ggsf3hnsd8cavdd-composer-2.8.4/LICENSE'

error: builder for '/nix/store/lm6dqmwqwja1za6lcx5hmpg3qh8y6yn4-e24b4c09e963677b1beea49d411cd315a024ad3a-env.drv' failed with exit code 25

$10 Bounty

3 Replies

sim
FREE

a year ago

Your yarn and composer are trying to write to the LICENSE file to the same path it says so in the error - error: collision between /nix/store/qn1wvz93s3c4f9c74qzb0rpgyrwip6kn-yarn/LICENSE' and/nix/store/rbbaws9k85zah0d77ggsf3hnsd8cavdd-composer-2.8.4/LICENSE'


sim
FREE

a year ago

This happens when Nix has multiple packages install files with the same name to the same location https://nixos.org/manual/nixpkgs/stable/#sec-building-environments


sim
FREE

a year ago

Why don't you try to look at Nix documentation or change how you are writing the LICENSE file?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...