-
-
Save JakubKoralewski/e03f9f812f1a35870546837a6b4dba81 to your computer and use it in GitHub Desktop.
devbox-collision-repro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure profile install --profile /Users/jakubkoralewski/Projects/devbox-collision-repr/.devbox/nix/profile/default --offline --impure --priority 7 /nix/store/6qsqma7ywrlcppjbvbp518fy8fhkq551-kotlin-1.9.10 | |
unmatched | |
error: collision between '/nix/store/6qsqma7ywrlcppjbvbp518fy8fhkq551-kotlin-1.9.10/license' and non-directory '/nix/store/kr4332sbls2lb7ccggwa8538q6ggpvbp-emulator-35.3.7/LICENSE' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.4/.schema/devbox.schema.json", | |
"packages": [ | |
"github:tadfisher/android-nixpkgs#emulator", | |
"kotlin" | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
problematic_args="--extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure profile install --profile /Users/jakubkoralewski/Projects/webhookify/.devbox/nix/profile/default --offline --impure --priority 13 /nix/store/6qsqma7ywrlcppjbvbp518fy8fhkq551-kotlin-1.9.10" | |
if [ "$*" == "$problematic_args" ]; then | |
echo "$*" > args | |
echo "matched" >> args | |
echo "nix '$@'" >&2 | |
/nix/store/1n95r340s7p3vdwqh7m94q0a42crahqq-nix-2.24.9/bin/nix.bkup --verbose "$@" > >(cat) 2>> args | |
else | |
echo "$*" > args | |
echo unmatched >> args | |
echo "nix '$@'" >&2 | |
/nix/store/1n95r340s7p3vdwqh7m94q0a42crahqq-nix-2.24.9/bin/nix.bkup "$@" > >(cat) 2>> args | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment