about summary refs log tree commit diff
path: root/src/store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-29T09·45+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-29T09·45+0000
commit5acb45446e756c023bcb6f052331181671580a5e (patch)
treee4e1736b9e7df49a9ecc3107e57e4139988779d1 /src/store.cc
parentce5fd1cc12f678627163d532acd7dd4251758198 (diff)
* Let `nix --install' print out the id of the normal form.
* Some minor refactoring.

Diffstat (limited to 'src/store.cc')
-rw-r--r--src/store.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/store.cc b/src/store.cc
index fe7e1406f07b..3493ba384bb6 100644
--- a/src/store.cc
+++ b/src/store.cc
@@ -219,8 +219,7 @@ string expandId(const FSId & id, const string & target,
 
         debug(format("trying substitute %1%") % (string) subId);
 
-        Slice slice = normaliseFState(subId, pending);
-        realiseSlice(slice, pending);
+        realiseSlice(normaliseFState(subId, pending), pending);
 
         return expandId(id, target, prefix, pending);
     }