Skip to content

Instantly share code, notes, and snippets.

@nico202
Last active May 18, 2018 08:55
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 nico202/5fb4eda9d1fb441123a235cb9a13ceff to your computer and use it in GitHub Desktop.
Save nico202/5fb4eda9d1fb441123a235cb9a13ceff to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
callPackage ./derivation.nix { stdenv = clangStdenv; }
with import <nixpkgs> {};
callPackage ./derivation.nix { }
{stdenv, meson, ninja, eigen, libusb1}:
stdenv.mkDerivation rec {
name = "cChai3d-${version}";
version = "2.0";
src = ./.;
buildInputs = [
eigen
libusb1
];
nativeBuildInputs = [ meson ninja ];
checkPhase = "meson test";
enableParallelBuilding = true;
}
@nico202
Copy link
Author

nico202 commented May 18, 2018

ERROR: Compiler /nix/store/487kalv9jm8g5fs3bm5yhby63mcpnbfv-gcc-wrapper-7.3.0/bin/c++ can not compile programs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment