Skip to content

Instantly share code, notes, and snippets.

@kolloch
Last active March 28, 2020 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kolloch/311487d7b960f4a79f57c13926635cb7 to your computer and use it in GitHub Desktop.
Save kolloch/311487d7b960f4a79f57c13926635cb7 to your computer and use it in GitHub Desktop.
peter@dipkus: ~/nixpkgs$ nix-build -k -A buildRustCrateTests
these derivations will be built:
/nix/store/8ywf6i66s7739vn254n4pja789g4qsc1-libb.drv
/nix/store/g4hlfyfs6ggcz2hr3k1f1ki6cwjjwish-rust_linkOrder-0.1.0.drv
/nix/store/fyh5xjqbp50z0b2h9fmx12231wsxwmjg-run-buildRustCrate-linkOrder-test.drv
/nix/store/9dm9c2056c4h5ik4a6gr530ysvfs5m9v-buildRustCrate-tests.drv
building '/nix/store/8ywf6i66s7739vn254n4pja789g4qsc1-libb.drv'...
Undefined symbols for architecture x86_64:
"_hello", referenced from:
_hello_world in wv30mjzywacmb4swxbz1zfn94wl68z95-libb-src-68d82a.o
(maybe you meant: _hello_world)
ld: symbol(s) not found for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
builder for '/nix/store/8ywf6i66s7739vn254n4pja789g4qsc1-libb.drv' failed with exit code 1
cannot build derivation '/nix/store/g4hlfyfs6ggcz2hr3k1f1ki6cwjjwish-rust_linkOrder-0.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/fyh5xjqbp50z0b2h9fmx12231wsxwmjg-run-buildRustCrate-linkOrder-test.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9dm9c2056c4h5ik4a6gr530ysvfs5m9v-buildRustCrate-tests.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9dm9c2056c4h5ik4a6gr530ysvfs5m9v-buildRustCrate-tests.drv' failed
=> 100 (ERROR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment