summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2016-04-30 02:07:50 +0000
committerDan Peebles <pumpkin@me.com>2016-04-30 02:07:50 +0000
commitc048f7db7b48620840f5dc4ed1b0c1530bdd2c79 (patch)
tree8efc7f543af4fb035afcf3be531afd35f45015b5 /pkgs
parentf0189a8b40acb81fa4a0898f7df582fef049c4f5 (diff)
downloadnixpkgs-c048f7db7b48620840f5dc4ed1b0c1530bdd2c79.tar
nixpkgs-c048f7db7b48620840f5dc4ed1b0c1530bdd2c79.tar.gz
nixpkgs-c048f7db7b48620840f5dc4ed1b0c1530bdd2c79.tar.bz2
nixpkgs-c048f7db7b48620840f5dc4ed1b0c1530bdd2c79.tar.lz
nixpkgs-c048f7db7b48620840f5dc4ed1b0c1530bdd2c79.tar.xz
nixpkgs-c048f7db7b48620840f5dc4ed1b0c1530bdd2c79.tar.zst
nixpkgs-c048f7db7b48620840f5dc4ed1b0c1530bdd2c79.zip
rpm: fix state directory in build
Prior to this change, it was was defaulting to storing its state in
its store path, which didn't make any sense.

Also added myself as a maintainer
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/package-management/rpm/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/package-management/rpm/default.nix b/pkgs/tools/package-management/rpm/default.nix
index ab5574b07f1..6c2c9a350ad 100644
--- a/pkgs/tools/package-management/rpm/default.nix
+++ b/pkgs/tools/package-management/rpm/default.nix
@@ -24,13 +24,13 @@ stdenv.mkDerivation rec {
     substituteInPlace configure --replace 'python''${PYTHON_VERSION}' ${python.executable}
   '';
 
-  configureFlags = "--with-external-db --with-lua --enable-python";
+  configureFlags = "--with-external-db --with-lua --enable-python --localstatedir=/var --sharedstatedir=/com";
 
   meta = with stdenv.lib; {
     homepage = http://www.rpm.org/;
     license = licenses.gpl2;
     description = "The RPM Package Manager";
-    maintainers = [ maintainers.mornfall ];
+    maintainers = with maintainers; [ mornfall copumpkin ];
     platforms = platforms.linux;
   };
 }