mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
96bed5b7aa
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of signon override
the whole configurePhase, so this hook isn't run at all.
This fixes the build of signon and it now successfully compiles on my
machine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
21 lines
531 B
Nix
21 lines
531 B
Nix
{ stdenv, fetchurl, doxygen, qtbase }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "signon-${version}";
|
|
version = "8.57";
|
|
src = fetchurl {
|
|
url = "https://gitlab.com/accounts-sso/signond/repository/archive.tar.gz?ref=${version}";
|
|
sha256 = "1vqkxhmdjk3217k38l2s3wld8x7f4jrbbh6xbr036cn1r23ncni5";
|
|
};
|
|
|
|
buildInputs = [ qtbase ];
|
|
nativeBuildInputs = [ doxygen ];
|
|
|
|
configurePhase = ''
|
|
runHook preConfigure
|
|
qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake/SignOnQt5
|
|
runHook postConfigure
|
|
'';
|
|
|
|
}
|