diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-20 14:14:35 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-20 14:14:35 +0000 |
commit | 285d26374aac69d2bbd1df31bc76686ad39171a4 (patch) | |
tree | d5a89a857e4079cf68e0a750dc8b630776fd37e4 /nix.spec.in | |
parent | a55113411fe8e6ef39e24c79564e39f07f5a8fdf (diff) |
* Don't set the prefix to /nix by default, rather use the Autoconf
default of /usr/local. However, localstatedir and storedir are set
to /nix/var/nix and /nix/store respectively unless they're
explicitly overriden.
Diffstat (limited to 'nix.spec.in')
-rw-r--r-- | nix.spec.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nix.spec.in b/nix.spec.in index 5cc660634..34b49f634 100644 --- a/nix.spec.in +++ b/nix.spec.in @@ -16,8 +16,7 @@ Group: Software Deployment URL: http://nixos.org/ Source0: %{name}-@version@.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -%define _prefix /nix -Prefix: %{_prefix} +Prefix: /usr Requires: /usr/bin/perl Requires: curl @@ -76,9 +75,9 @@ fi %{_prefix}/lib %{_prefix}/libexec %{_prefix}/include -%{_prefix}/var %{_prefix}/share -%{_prefix}/store +/nix/var +/nix/store %config %{_prefix}/etc #%doc |