Skip to content

Instantly share code, notes, and snippets.

@PyroLagus
Created June 17, 2015 21:06
Show Gist options
  • Select an option

  • Save PyroLagus/25b55736f91f576a9ae2 to your computer and use it in GitHub Desktop.

Select an option

Save PyroLagus/25b55736f91f576a9ae2 to your computer and use it in GitHub Desktop.

Revisions

  1. PyroLagus created this gist Jun 17, 2015.
    62 changes: 62 additions & 0 deletions gistfile1.nix
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,62 @@
    codehero@wheatley ~ % nix-build --show-trace ./nixpkgs -A wlc
    these derivations will be built:
    /nix/store/n0n37s7wqyhq2wvhdvmxi48k8nw0sxyc-wlc-5453a91201.drv
    building path(s)/nix/store/vhjjk1xsxypl7h91x5ynd6f3h8hzrmda-wlc-5453a91201
    unpacking sources
    unpacking source archive /nix/store/c7asypsnb2dw7jhqgks77y5bpkdqdbbs-wlc-5453a91201a6b90f1f7fc093ddb578bfad18461d-src
    source root is wlc-5453a91201a6b90f1f7fc093ddb578bfad18461d-src
    'wlc-5453a91201a6b90f1f7fc093ddb578bfad18461d-src/lib/chck/src/i2q7bgm4w3wjw42an9axw02ccbc2lyl4-chck-a11a7c064d786706269e2b9f5516d898fec10402-src' -> '/nix/store/i2q7bgm4w3wjw42an9axw02ccbc2lyl4-chck-a11a7c064d786706269e2b9f5516d898fec10402-src'
    patching sources
    configuring
    fixing cmake files...
    cmake flags: -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/nix/store/vhjjk1xsxypl7h91x5ynd6f3h8hzrmda-wlc-5453a91201/lib -DCMAKE_INSTALL_PREFIX=/nix/store/vhjjk1xsxypl7h91x5ynd6f3h8hzrmda-wlc-5453a91201
    -- The C compiler identification is GNU 4.8.4
    -- Check for working C compiler: /nix/store/ylj1q31a7x3pvcraxk60dyv9y4wmwcrc-gcc-wrapper-4.8.4/bin/gcc
    -- Check for working C compiler: /nix/store/ylj1q31a7x3pvcraxk60dyv9y4wmwcrc-gcc-wrapper-4.8.4/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Found PkgConfig: /nix/store/qlmksvpzkj7xc6kwi25z35fqssff6nwr-pkg-config-0.28/bin/pkg-config (found version "0.28")
    -- Found WAYLAND_CLIENT: /nix/store/f3f67p07b7qkkby8fkf1ck586flzf3n1-wayland-1.7.0/lib/libwayland-client.so
    -- Found WAYLAND_SERVER: /nix/store/f3f67p07b7qkkby8fkf1ck586flzf3n1-wayland-1.7.0/lib/libwayland-server.so
    -- Found WAYLAND_EGL: /nix/store/n92gqmf9kc1cn1y2qkxc7w2r4s3hcdkw-mesa-noglu-10.5.6/lib/libwayland-egl.so
    -- Found WAYLAND: /nix/store/f3f67p07b7qkkby8fkf1ck586flzf3n1-wayland-1.7.0/lib/libwayland-client.so;/nix/store/f3f67p07b7qkkby8fkf1ck586flzf3n1-wayland-1.7.0/lib/libwayland-server.so;/nix/store/n92gqmf9kc1cn1y2qkxc7w2r4s3hcdkw-mesa-noglu-10.5.6/lib/libwayland-egl.so
    -- Found pixman-1: /nix/store/qap29dm14mghkr9xx31dbr3i8f9xmnkf-pixman-0.32.6/lib/libpixman-1.so
    -- Found XKBCOMMON: /nix/store/jarcq2wf36619vs3lr9c9ap50v9icmgz-libxkbcommon-0.4.3/lib/libxkbcommon.so
    -- Looking for XOpenDisplay in /nix/store/31pzqp6w5zzz8pf6i96azds40vmxsn3g-libX11-1.6.3/lib/libX11.so;/nix/store/17df8j7il4b51j7cn29ys4w3j4rsjrcc-libXext-1.3.3/lib/libXext.so
    -- Looking for XOpenDisplay in /nix/store/31pzqp6w5zzz8pf6i96azds40vmxsn3g-libX11-1.6.3/lib/libX11.so;/nix/store/17df8j7il4b51j7cn29ys4w3j4rsjrcc-libXext-1.3.3/lib/libXext.so - found
    -- Looking for gethostbyname
    -- Looking for gethostbyname - found
    -- Looking for connect
    -- Looking for connect - found
    -- Looking for remove
    -- Looking for remove - found
    -- Looking for shmat
    -- Looking for shmat - found
    -- Found X11: /nix/store/31pzqp6w5zzz8pf6i96azds40vmxsn3g-libX11-1.6.3/lib/libX11.so
    -- Found XCB: /nix/store/g6ihizbdm6shfl6sb41j96w7vcg2a38g-libxcb-1.11/lib/libxcb.so;XCB_LIBRARIES_ewmh-NOTFOUND;/nix/store/g6ihizbdm6shfl6sb41j96w7vcg2a38g-libxcb-1.11/lib/libxcb-composite.so;/nix/store/g6ihizbdm6shfl6sb41j96w7vcg2a38g-libxcb-1.11/lib/libxcb-xkb.so
    -- Found GLESv2: /nix/store/n92gqmf9kc1cn1y2qkxc7w2r4s3hcdkw-mesa-noglu-10.5.6/lib/libGLESv2.so
    -- Found EGL: /nix/store/n92gqmf9kc1cn1y2qkxc7w2r4s3hcdkw-mesa-noglu-10.5.6/lib/libEGL.so
    -- Found DRM: /nix/store/n92gqmf9kc1cn1y2qkxc7w2r4s3hcdkw-mesa-noglu-10.5.6/include
    -- Found UDEV: /nix/store/zlq94gj8mdb1vxpvwh7vzjm6c24y75rz-systemd-217/include
    -- Found LIBINPUT: /nix/store/50lqavnzgwxh4apn81vy3qv33nh6fkfh-libinput-0.15.0/include
    -- Found DBUS: /nix/store/yh2axrjl2b60v1mbqgp9wz4b3h2s1z0h-dbus-libs-1.8.16/include/dbus-1.0;/nix/store/yh2axrjl2b60v1mbqgp9wz4b3h2s1z0h-dbus-libs-1.8.16/lib/dbus-1.0/include
    -- Found SYSTEMD: /nix/store/zlq94gj8mdb1vxpvwh7vzjm6c24y75rz-systemd-217/include
    Building with logind support
    -- Configuring done
    CMake Error at lib/chck/CMakeLists.txt:2 (add_library):
    Cannot find source file:

    src/chck/pool/pool.c

    Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
    .hxx .in .txx


    CMake Error: Cannot determine link language for target "chck_wlc".
    CMake Error: CMake can not determine linker language for target: chck_wlc
    -- Generating done
    -- Build files have been written to: /tmp/nix-build-wlc-5453a91201.drv-0/wlc-5453a91201a6b90f1f7fc093ddb578bfad18461d-src/build
    builder for/nix/store/n0n37s7wqyhq2wvhdvmxi48k8nw0sxyc-wlc-5453a91201.drvfailed with exit code 1
    error: build of/nix/store/n0n37s7wqyhq2wvhdvmxi48k8nw0sxyc-wlc-5453a91201.drvfailed