diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-09 12:37:49 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-09 12:37:49 +0000 |
commit | b762f4df7f6b8d0a4b306fc7e1c2633c4802d1c2 (patch) | |
tree | c0f3905f5d670c890dcbf15f32784edb2dab2757 /src | |
parent | aa8fda4b54fbd84b7bc6b11904c156367683e8f6 (diff) |
* In `fix --instantiate', only print out the hashes of the Nix
descriptors generated out of Fix descriptors specified on the
command line. This allows us to say:
nix-switch $(fix -i ./test/fixdescriptors/system.fix)
Diffstat (limited to 'src')
-rw-r--r-- | src/fix.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fix.cc b/src/fix.cc index 8d5cc6bf8..0d3ae9bff 100644 --- a/src/fix.cc +++ b/src/fix.cc @@ -226,8 +226,6 @@ string instantiateDescriptor(string filename, if (rename(tmpFilename.c_str(), outFilename.c_str())) throw Error("cannot rename " + tmpFilename + " to " + outFilename); - cout << outFilename << endl; - /* Register it with Nix. */ registerFile(outFilename); @@ -245,7 +243,7 @@ void instantiateDescriptors(Strings filenames) it != filenames.end(); it++) { string filename = absPath(*it); - instantiateDescriptor(filename, done); + cout << instantiateDescriptor(filename, done) << endl; } } |