Merge pull request #320579 from pyrox0/libtorch-test-fix-src
libtorch-bin: fix test having self-inclusive src
This commit is contained in:
commit
c6b27d0876
@ -27,7 +27,13 @@ in stdenv.mkDerivation {
|
|||||||
pname = "libtorch-test";
|
pname = "libtorch-test";
|
||||||
version = libtorch-bin.version;
|
version = libtorch-bin.version;
|
||||||
|
|
||||||
src = ./.;
|
src = lib.fileset.toSource {
|
||||||
|
root = ./.;
|
||||||
|
fileset = lib.fileset.unions [
|
||||||
|
./CMakeLists.txt
|
||||||
|
./test.cpp
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user