Nix: ignore earlier build results

pull/1/head
Jani Mustonen 7 years ago committed by GitHub
parent 486676f248
commit 0777dba5e1
  1. 7
      package.nix

@ -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 = ''

Loading…
Cancel
Save