diff options
author | Peter Simons <simons@cryp.to> | 2019-09-05 09:48:54 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2019-09-05 10:55:19 +0200 |
commit | 52de09ce84a9a54662d3dc860711ed2b820dfb2e (patch) | |
tree | 76b4c068d0fb2dded40890896205d3a189f42899 /pkgs/tools/misc | |
parent | 4f493117bbd628038b4ab9882b92e20f1b13010a (diff) |
heimdall: fix the GUI front-end's run-time errors
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/heimdall/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/tools/misc/heimdall/default.nix b/pkgs/tools/misc/heimdall/default.nix index 9e21ab5e38ff..a8100e455f0b 100644 --- a/pkgs/tools/misc/heimdall/default.nix +++ b/pkgs/tools/misc/heimdall/default.nix @@ -1,10 +1,11 @@ -{ stdenv, fetchFromGitHub, cmake -, zlib, libusb1 -, enableGUI ? false, qtbase ? null }: +{ stdenv, mkDerivation, fetchFromGitHub, cmake, zlib, libusb1 +, enableGUI ? false, qtbase ? null +}: -stdenv.mkDerivation rec { +let version = "1.4.2"; in + +mkDerivation { name = "heimdall-${if enableGUI then "gui-" else ""}${version}"; - version = "1.4.2"; src = fetchFromGitHub { owner = "Benjamin-Dobell"; |