diff --git a/pkgs/misc/gnuk/default.nix b/pkgs/misc/gnuk/default.nix index 9da9e1d69af3..46a98ed19866 100644 --- a/pkgs/misc/gnuk/default.nix +++ b/pkgs/misc/gnuk/default.nix @@ -34,12 +34,11 @@ stdenv.mkDerivation { colorama ]; - configurePhase = '' - cd src - patchShebangs configure - ./configure --vidpid=${vid}:${pid} - ''; + sourceRoot = "${finalAttrs.src.name}/src"; + configureFlags = [ "--vidpid=${vid}:${pid}" ]; + + # TODO: Check how many of these patches are actually needed. installPhase = '' mkdir -p $out/bin