-
-
Save JonathanILevi/7662dadeb3daddaf543491d5370ff170 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "ccd"; | |
nativeBuildInputs = [ cmake ]; | |
buildInputs = [ ]; | |
src = ./src; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
these derivations will be built: | |
/nix/store/wmpfzhnjwlhzjvpprdwny0d5iaraix0h-fcl.drv | |
building '/nix/store/wmpfzhnjwlhzjvpprdwny0d5iaraix0h-fcl.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/yhpckmclqnykifqwqhib38z6y399xjh8-src | |
source root is src | |
patching sources | |
configuring | |
fixing cmake files... | |
cmake flags: -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/share/doc/ -DCMAKE_INSTALL_INFODIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/include -DCMAKE_INSTALL_SBINDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/strip -DCMAKE_RANLIB=/nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ranlib -DCMAKE_AR=/nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/id0b564hn9h5ap7n0zxqpiy5awii49w1-fcl -DCMAKE_INSTALL_DATAROOTDIR=libs -DCMAKE_INSTALL_LIBDIR=libs -DDESTINATION=libs | |
CMake Warning (dev) in CMakeLists.txt: | |
No project() command is present. The top-level CMakeLists.txt file must | |
contain a literal, direct call to the project() command. Add a line of | |
code such as | |
project(ProjectName) | |
near the top of the file, but after cmake_minimum_required(). | |
CMake is pretending there is a "project(Project)" command on the first | |
line. | |
This warning is for project developers. Use -Wno-dev to suppress it. | |
-- The C compiler identification is GNU 8.3.0 | |
-- The CXX compiler identification is GNU 8.3.0 | |
-- Check for working C compiler: /nix/store/291ldi6fqsbmkbvbs8is4mcg3jb64ld4-gcc-wrapper-8.3.0/bin/gcc | |
-- Check for working C compiler: /nix/store/291ldi6fqsbmkbvbs8is4mcg3jb64ld4-gcc-wrapper-8.3.0/bin/gcc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /nix/store/291ldi6fqsbmkbvbs8is4mcg3jb64ld4-gcc-wrapper-8.3.0/bin/g++ | |
-- Check for working CXX compiler: /nix/store/291ldi6fqsbmkbvbs8is4mcg3jb64ld4-gcc-wrapper-8.3.0/bin/g++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Performing Test COMPILER_SUPPORTS_VISIBILITY | |
-- Performing Test COMPILER_SUPPORTS_VISIBILITY - Success | |
CMake Error at CMakeLists.txt:138 (install): | |
install EXPORT given no DESTINATION! | |
CMake Warning (dev) in CMakeLists.txt: | |
No cmake_minimum_required command is present. A line of code such as | |
cmake_minimum_required(VERSION 3.15) | |
should be added at the top of the file. The version specified may be lower | |
if you wish to support older CMake versions for this project. For more | |
information run "cmake --help-policy CMP0000". | |
This warning is for project developers. Use -Wno-dev to suppress it. | |
-- Configuring incomplete, errors occurred! | |
See also "/build/src/build/CMakeFiles/CMakeOutput.log". | |
builder for '/nix/store/wmpfzhnjwlhzjvpprdwny0d5iaraix0h-fcl.drv' failed with exit code 1 | |
error: build of '/nix/store/wmpfzhnjwlhzjvpprdwny0d5iaraix0h-fcl.drv' failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let ccd = import(../libccd/ccd-default.nix); | |
in stdenv.mkDerivation { | |
name = "fcl"; | |
nativeBuildInputs = [ cmake ]; | |
buildInputs = [ ccd ]; | |
src = ./src; | |
cmakeFlags = [ "-DCMAKE_INSTALL_DATAROOTDIR=libs" "-DCMAKE_INSTALL_LIBDIR=libs" "-DDESTINATION=libs" ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment