mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Merge pull request #48 from JaniM/patch-1
Nix: ignore earlier build results
This commit is contained in:
commit
4aa613f846
1 changed files with 6 additions and 1 deletions
|
@ -2,7 +2,12 @@
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
name = "nheko-${version}";
|
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 ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ qtbase qttranslations lmdb ];
|
buildInputs = [ qtbase qttranslations lmdb ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue