Skip to content
Snippets Groups Projects
Commit 4aa613f8 authored by mujx's avatar mujx Committed by GitHub
Browse files

Merge pull request #48 from JaniM/patch-1

Nix: ignore earlier build results
parents 486676f2 0777dba5
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,12 @@
stdenv.mkDerivation rec {
version = "0.1.0";
name = "nheko-${version}";
src = ./.;
src = builtins.filterSource
(path: type:
let name = baseNameOf path;
in !((type == "directory" && (name == ".git" || name == "build")) ||
(type == "symlink" && name == "result") ))
./.;
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qttranslations lmdb ];
installPhase = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment