Skip to content

Commit

Permalink
Nix: use clean source
Browse files Browse the repository at this point in the history
  • Loading branch information
thefloweringash committed Dec 15, 2018
1 parent 46078fe commit 3304b41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nix/compiler.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ mkDerivation, base, bytestring, containers, fgl, hspec, mtl
{ lib, mkDerivation, base, bytestring, containers, fgl, hspec, mtl
, parsec, stdenv, ghc
}:
mkDerivation {
pname = "Compiler";
version = "0.0";
src = ../compiler;
src = lib.cleanSource ../compiler;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
Expand Down
2 changes: 1 addition & 1 deletion nix/qtclient.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ assert withCompiler -> compiler != null;

stdenv.mkDerivation {
name = "qtclient";
src = ../qtclient;
src = lib.cleanSource ../qtclient;
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ libusb qtbase ];

Expand Down

0 comments on commit 3304b41

Please sign in to comment.