1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 11:03:54 +02:00

* 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.
This commit is contained in:
Eelco Dolstra 2008-11-20 14:14:35 +00:00
parent a55113411f
commit 285d26374a
3 changed files with 12 additions and 11 deletions

View file

@ -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