From cdec10f9368a1b69664db85b6bd029b136329b2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Fri, 14 Dec 2012 10:44:22 +0100
Subject: [PATCH] release.nix: Remove trailing "/nix" from localstatedir.

* release.nix (tarball, build): Use /nix/var as localstatedir, as a
  follow-up to 7f4f065.
---
 release.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release.nix b/release.nix
index 2cc7be47942..b83de6c2a53 100644
--- a/release.nix
+++ b/release.nix
@@ -53,7 +53,7 @@ let
         preAutoconf = ''git config submodule.nix.url "${<nix>}"'';
         configureFlags =
           [ "--with-libgcrypt-prefix=${pkgs.libgcrypt}"
-            "--localstatedir=/nix/var/nix"
+            "--localstatedir=/nix/var"
           ];
       };
 
@@ -68,7 +68,7 @@ let
         src = jobs.tarball;
         configureFlags =
           [ "--with-libgcrypt-prefix=${pkgs.libgcrypt}"
-            "--localstatedir=/nix/var/nix"
+            "--localstatedir=/nix/var"
           ];
 
         preBuild =
-- 
GitLab