Open josephwinston opened 1 month ago
Is the devbox.json
in this formatted correctly? It should be something like
"packages": [
"path:../ReadCSVWriteRealTime/",
"path:../WriteInputCSV/",
"path:../ReadRealTimeWriteCSV/",
"dos2unix@latest"
],
The error message is saying that it can't find that package, most likely because ../ReadCSVWriteRealTime/
is not a valid Flake reference. Formatting it as above should fix the package not found
error
I agree the devbox.json
isn't correct. I'm not in the habit of editing the file by hand, but did it this time to match your example:
"packages": [
"path:../ReadCSVWriteRealTime/",
"path:../WriteInputCSV/",
"path:../ReadRealTimeWriteCSV/",
"dos2unix@latest"
],
I still have the issue:
Info: Attempting to upgrade path:../ReadCSVWriteRealTime/ using `nix profile upgrade`
Warning: Failed to upgrade path:../ReadCSVWriteRealTime/ using `nix profile upgrade`: path:../ReadCSVWriteRealTime/: package not found
Info: Attempting to upgrade path:../WriteInputCSV/ using `nix profile upgrade`
Warning: Failed to upgrade path:../WriteInputCSV/ using `nix profile upgrade`: path:../WriteInputCSV/: package not found
Info: Attempting to upgrade path:../ReadRealTimeWriteCSV/ using `nix profile upgrade`
Warning: Failed to upgrade path:../ReadRealTimeWriteCSV/ using `nix profile upgrade`: path:../ReadRealTimeWriteCSV/: package not found
Info: Already up-to-date dos2unix@latest 7.5.2
Info: Installing the following packages to the nix store: path:../ReadCSVWriteRealTime/, path:../WriteInputCSV/, path:../ReadRealTimeWriteCSV/, dos2unix@latest
Info: Running "nix flake update"
$ ls ../ReadCSVWriteRealTime/flake*
../ReadCSVWriteRealTime/flake.lock ../ReadCSVWriteRealTime/flake.nix
$ ls ../WriteInputCSV/flake*
../WriteInputCSV/flake.lock ../WriteInputCSV/flake.nix
$ ls ../ReadRealTimeWriteCSV/flake*
../ReadRealTimeWriteCSV/flake.lock ../ReadRealTimeWriteCSV/flake.nix ../ReadRealTimeWriteCSV/flake.nix~
josephwinston@LT-0061:~/work/StasisDrilling/FieldTrials/Tests/Exercise$
the good news is that everything works
What happened?
Using
Devbox 0.10.7
and the commandupgrade
now produces this new warning on WSL2Steps to reproduce
devbox add path:../ReadRealTimeWriteCSV
devbox update
reports the new warningCommand
No response
devbox.json