Created
February 1, 2015 22:27
-
-
Save thorhop/233189facc280a1c6450 to your computer and use it in GitHub Desktop.
What am I doing wrong...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nix-build pkgs/tools/X11/touchegg/default.nix --dry-run | |
error: cannot auto-call a function that has an argument without a default value (‘stdenv’) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, libX11, Qt4, libXtst, libXext }: | |
stdenv.mkDerivation rec { | |
name = "touchegg-1.1.1"; | |
src = fetchurl { | |
url = "https://touchegg.googlecode.com/files/${name}.tar.gz"; | |
sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038"; | |
}; | |
buildInputs = [ libX11 libXtst libXext ]; | |
configurePhase = "qmake PREFIX=$out"; | |
buildPhase = "make"; | |
installPhase = '' | |
mkdir -p $out/usr/bin | |
mkdir -p $out/usr/lib | |
mkdir -p $out/usr/share | |
make install BASEDIR=$out | |
''; | |
meta = { | |
homepage = "https://code.google.com/p/touchegg/"; | |
description = "Macro binding for touch surfaces"; | |
license = stdenv.lib.licenses.gpl2; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
thinkfan = callPackage ../tools/system/thinkfan { }; | |
touchegg = callPackage ../tools/X11/touchegg { | |
inherit stdenv fetchurl libX11 libXtst libXext; | |
}; | |
tup = callPackage ../development/tools/build-managers/tup { }; | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment