diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-06-09 12:39:02 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-06-09 12:39:02 -0500 |
commit | aea0ff96deacacb256ee20f35866883af739aa78 (patch) | |
tree | 92107252449543f425aa1b8c359a45a90af532ec /pkgs/applications/display-managers | |
parent | 98bb89b9d0265eeaa71538dba1783a383c24d97e (diff) |
sddm: run phase hooks
Diffstat (limited to 'pkgs/applications/display-managers')
-rw-r--r-- | pkgs/applications/display-managers/sddm/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/display-managers/sddm/default.nix b/pkgs/applications/display-managers/sddm/default.nix index 8e1812ec013b..923b185ae393 100644 --- a/pkgs/applications/display-managers/sddm/default.nix +++ b/pkgs/applications/display-managers/sddm/default.nix @@ -68,14 +68,19 @@ in stdenv.mkDerivation { name = "sddm-${version}"; - phases = "installPhase"; nativeBuildInputs = [ lndir makeQtWrapper ]; buildInputs = [ unwrapped ] ++ themes; themes = map (pkg: pkg.out or pkg) themes; inherit unwrapped; + unpackPhase = "true"; + configurePhase = "runHook preConfigure; runHook postConfigure"; + buildPhase = "runHook preBuild; runHook postBuild"; + installPhase = '' + runHook preInstall + makeQtWrapper "$unwrapped/bin/sddm" "$out/bin/sddm" mkdir -p "$out/share/sddm" @@ -85,6 +90,8 @@ stdenv.mkDerivation { lndir -silent "$sddmDir" "$out/share/sddm" fi done + + runHook postInstall ''; inherit (unwrapped) meta; |