Fix & cleanup nix files (#240)

* Fix default.nix

* Cleanup package.nix
remotes/origin/HEAD
Francesco Gazzetta 7 years ago committed by mujx
parent f525b7e6a9
commit ea268d9761
  1. 2
      default.nix
  2. 7
      package.nix

@ -1,3 +1,3 @@
with import <nixpkgs> {};
qt59.callPackage ./package.nix {}
libsForQt5.callPackage ./package.nix {}

@ -1,4 +1,4 @@
{ pkgs, stdenv, qtbase, qttranslations, qtmultimedia, lmdb, mkDerivation, cmake }:
{ stdenv, qtbase, qttranslations, qtmultimedia, lmdb, cmake }:
stdenv.mkDerivation rec {
version = "0.1.0";
name = "nheko-${version}";
@ -10,9 +10,6 @@ stdenv.mkDerivation rec {
./.;
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qttranslations qtmultimedia lmdb ];
installPhase = ''
mkdir -p $out/bin
cp nheko $out/bin/nheko
'';
installPhase = "install -Dm755 nheko $out/bin/nheko";
}

Loading…
Cancel
Save