···16 sha256 = "02w1bfm7xvq0dzkhwqiq0camkzz9kvciyhnsis61c8vzp39cwx0x";
17 };
1819- buildInputs = [
20- boost
21- cmake
22- pkgconfig
23- txt2tags
024 ];
25-26- # These can't go in the normal nix cmakeFlags because $out needs to be
27- # expanded by the shell, not by cmake or nix. $ENV{out} doesn't work right
28- # either; it results in /build/source/build//nix/store/blahblahblahblah/bin/
29- # TODO: use ${placeholder "out"} when possible.
30- # See https://github.com/NixOS/nixpkgs/pull/37693
31- preConfigure = ''
32- cmakeFlags+=" -DUDEV_BIN_DIR=$out/bin"
33- cmakeFlags+=" -DUDEV_RULES_DIR=$out/etc/udev/rules.d"
34- '';
3536 meta = {
37 description = "Thunderbolt(TM) user-space components";