Closed jab closed 2 months ago
In case it's relevant, I changed my devenv.yaml to use a nixpkgs url of github:NixOS/nixpkgs/nixpkgs-unstable
(as suggested in https://github.com/cachix/devenv/issues/1071#issuecomment-2027097581) just so I could get as far as devenv up
working. Not sure if this has anything to do with this nix2container stuff not working though.
The nix2container issue has been fixed by https://github.com/nlewo/nix2container/pull/126.
@nlewo awesome, thank you very much!
Describe the bug
I just followed the https://devenv.sh/containers/ docs to try to build a container for (essentially a "hello world") Python webapp using devenv for the first time. Though
devenv up
works as expected (it starts my server process and I can verify it's successfully serving requests),devenv container build processes
fails with a "buildGoModule" error deep ingithub:NixOS/nixpkgs/.../lib/strings.nix
:Reproducing
Please see https://github.com/jab/hello-nix-image-py-webapp for the code I used to reproduce this.
Version
devenv 1.0.1 (x86_64-linux)