nixos-shell
nixos-shell copied to clipboard
Build fail with "no buildable Go source files"
building path(s) ‘/nix/store/i3minxpr55vpqabadbarvpwmad7nngj3-nixos-shell’ building /nix/store/i3minxpr55vpqabadbarvpwmad7nngj3-nixos-shell building /nix/store/9wajbnfs0bsvfgl179bh6iplzdsqm636-nixos-shell/src/nixos-shell/main.go:6:2: no buildable Go source files in /nix/store/9wajbnfs0bsvfgl179bh6iplzdsqm636-nixos-shell/src/github.com/jessevdk/go-flags builder for ‘/nix/store/pdv00njpppl8zqqd3wd90hf3fkf5fsnh-nixos-shell.drv’ failed with exit code 1 error: build of ‘/nix/store/pdv00njpppl8zqqd3wd90hf3fkf5fsnh-nixos-shell.drv’ failed
@gurgeh this is because the project depends on go-flags...which is not currently added as a proper git submodule... Could this please be resolved? if you clone jessevdk/go-flags where it belongs you can compile it..but then...is this project gonna continue? @chrisfarms
bump. @chrisfarms
Use this fork https://github.com/wavewave/nixos-shell/tree/submodule
For confused readers in the future, run this:
git clone --recurse-submodules -b submodule [email protected]:wavewave/nixos-shell.git
cd nixos-shell
nix-env -i -f default.nix
Sadly, didn't manage to get this working on MacOS. This project depends on nixos-container which doesn't build on Darwin.
@jezen https://www.johbo.com/2017/building-a-nixos-container-from-macos.html