summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-27 20:14:03 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-28 20:14:37 -0600
commitcbf9b5610b83d86d7f831b3440dc9195b2e54766 (patch)
treea356b89e14ccd057eb38e439de68fa699cedbdbe /pkgs/applications/window-managers
parent8a4da418491fab6185ce3c7cf88f38cc1c2ba2e6 (diff)
downloadnixpkgs-cbf9b5610b83d86d7f831b3440dc9195b2e54766.tar
nixpkgs-cbf9b5610b83d86d7f831b3440dc9195b2e54766.tar.gz
nixpkgs-cbf9b5610b83d86d7f831b3440dc9195b2e54766.tar.bz2
nixpkgs-cbf9b5610b83d86d7f831b3440dc9195b2e54766.tar.lz
nixpkgs-cbf9b5610b83d86d7f831b3440dc9195b2e54766.tar.xz
nixpkgs-cbf9b5610b83d86d7f831b3440dc9195b2e54766.tar.zst
nixpkgs-cbf9b5610b83d86d7f831b3440dc9195b2e54766.zip
larswm: use imake setup hook
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/larswm/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/window-managers/larswm/default.nix b/pkgs/applications/window-managers/larswm/default.nix
index 21ea00d110e..4ec1a4bcd05 100644
--- a/pkgs/applications/window-managers/larswm/default.nix
+++ b/pkgs/applications/window-managers/larswm/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, imake, libX11, libXext, libXmu}:
+{ stdenv, fetchurl, imake, gccmakedep, libX11, libXext, libXmu }:
 
 stdenv.mkDerivation {
   name = "larswm-7.5.3";
@@ -8,13 +8,11 @@ stdenv.mkDerivation {
     sha256 = "1xmlx9g1nhklxjrg0wvsya01s4k5b9fphnpl9zdwp29mm484ni3v";
   };
 
-  buildInputs = [ imake libX11 libXext libXmu ];
+  nativeBuildInputs = [ imake gccmakedep ];
+  buildInputs = [ libX11 libXext libXmu ];
 
-  configurePhase = ''
-    xmkmf
-    makeFlags="BINDIR=$out/bin MANPATH=$out/share/man"
-    installTargets="install install.man"
-  '';
+  makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
+  installTargets = "install install.man";
 
   meta = {
     homepage = http://www.fnurt.net/larswm;