summary refs log tree commit diff
path: root/pkgs/os-specific/linux/plymouth
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-03-04 22:02:09 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-03-04 22:02:09 +0100
commit7e042659b7821a38ef2c63d92badc581937e4c52 (patch)
treefc7a0f41a77f17f03f497859444d9b8593cbeb29 /pkgs/os-specific/linux/plymouth
parent856d1ff27f0ca573d9fc26cab6e64a6c659985ca (diff)
downloadnixpkgs-7e042659b7821a38ef2c63d92badc581937e4c52.tar
nixpkgs-7e042659b7821a38ef2c63d92badc581937e4c52.tar.gz
nixpkgs-7e042659b7821a38ef2c63d92badc581937e4c52.tar.bz2
nixpkgs-7e042659b7821a38ef2c63d92badc581937e4c52.tar.lz
nixpkgs-7e042659b7821a38ef2c63d92badc581937e4c52.tar.xz
nixpkgs-7e042659b7821a38ef2c63d92badc581937e4c52.tar.zst
nixpkgs-7e042659b7821a38ef2c63d92badc581937e4c52.zip
plymouth: hacky fix build (automake-related)
Diffstat (limited to 'pkgs/os-specific/linux/plymouth')
-rw-r--r--pkgs/os-specific/linux/plymouth/default.nix41
1 files changed, 20 insertions, 21 deletions
diff --git a/pkgs/os-specific/linux/plymouth/default.nix b/pkgs/os-specific/linux/plymouth/default.nix
index a04407ba5c2..00d330ca955 100644
--- a/pkgs/os-specific/linux/plymouth/default.nix
+++ b/pkgs/os-specific/linux/plymouth/default.nix
@@ -1,6 +1,5 @@
-{ stdenv, fetchurl, autoconf, automake, cairo, docbook_xsl, gtk
-, libdrm, libpng , libtool, libxslt, makeWrapper, pango, pkgconfig
-, udev
+{ stdenv, fetchurl, autoreconfHook, cairo, docbook_xsl, gtk
+, libdrm, libpng, libxslt, makeWrapper, pango, pkgconfig, udev
 }:
 
 stdenv.mkDerivation rec {
@@ -13,7 +12,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [
-    autoconf automake cairo docbook_xsl gtk libdrm libpng libtool
+    autoreconfHook cairo docbook_xsl gtk libdrm libpng
     libxslt makeWrapper pango pkgconfig udev
   ];
 
@@ -22,23 +21,23 @@ stdenv.mkDerivation rec {
       -i configure.ac
   '';
 
-  configurePhase = ''
-    ./configure \
-      --prefix=$out \
-      -bindir=$out/bin \
-      -sbindir=$out/sbin \
-      --exec-prefix=$out \
-      --libdir=$out/lib \
-      --libexecdir=$out/lib \
-      --sysconfdir=$out/etc \
-      --localstatedir=/var \
-      --with-log-viewer \
-      --without-system-root-install \
-      --without-rhgb-compat-link \
-      --enable-tracing \
-      --enable-systemd-integration \
-      --enable-pango \
-      --enable-gtk
+  postPatch = ''
+    configureFlags="
+      --prefix=$out
+      --bindir=$out/bin
+      --sbindir=$out/sbin
+      --exec-prefix=$out
+      --libdir=$out/lib
+      --libexecdir=$out/lib
+      --sysconfdir=$out/etc
+      --localstatedir=/var
+      --with-log-viewer
+      --without-system-root-install
+      --without-rhgb-compat-link
+      --enable-tracing
+      --enable-systemd-integration
+      --enable-pango
+      --enable-gtk"
   '';
 
   meta = with stdenv.lib; {