From 06c77bf7a861221d41b5db9fad3002f13a14ed0e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 19 Jan 2005 14:36:00 +0000 Subject: * Change extension `.store' to `.drv'. * Re-enable `nix-store --query --requisites'. --- src/nix-env/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nix-env') diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index c9498907d..4d2ad0c89 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -205,7 +205,7 @@ void createUserEnv(EvalState & state, const DrvInfos & drvs, /* Also write a copy of the list of inputs to the store; we need it for future modifications of the environment. */ - Path inputsFile = writeTerm(inputs2, "env-inputs"); + Path inputsFile = addTextToStore("env-inputs", atPrint(inputs2)); Expr topLevel = makeCall(envBuilder, makeAttrs(ATmakeList3( makeBind(toATerm("system"), -- cgit v1.2.3