[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/118: Sort nixPath attributes
From: |
Ludovic Courtès |
Subject: |
15/118: Sort nixPath attributes |
Date: |
Tue, 19 May 2015 14:45:16 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit becc2b01678c5742b3fe6c379430606a5ef8e34d
Author: Eelco Dolstra <address@hidden>
Date: Thu May 29 19:02:14 2014 +0200
Sort nixPath attributes
---
src/libexpr/primops.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 3337489..993d290 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1392,6 +1392,7 @@ void EvalState::createBaseEnv()
mkAttrs(*v2, 2);
mkString(*allocAttr(*v2, symbols.create("path")), i.second);
mkString(*allocAttr(*v2, symbols.create("prefix")), i.first);
+ v2->attrs->sort();
}
addConstant("nixPath", v);
- branch nix updated (a1dd396 -> 3bfa70b), Ludovic Courtès, 2015/05/19
- 01/118: Provide a more useful error message when a dynamic attr lookup fails, Ludovic Courtès, 2015/05/19
- 08/118: Ensure that -I flags get included in nixPath, Ludovic Courtès, 2015/05/19
- 05/118: Shut up some signedness warnings, Ludovic Courtès, 2015/05/19
- 02/118: nix-store -l: Fetch build logs from the Internet, Ludovic Courtès, 2015/05/19
- 03/118: Disable parallel.sh test, Ludovic Courtès, 2015/05/19
- 07/118: Add constant ‘nixPath’, Ludovic Courtès, 2015/05/19
- 14/118: Use std::unordered_set, Ludovic Courtès, 2015/05/19
- 13/118: nix-build: --add-root also takes 1 parameter, Ludovic Courtès, 2015/05/19
- 16/118: Fix test, Ludovic Courtès, 2015/05/19
- 15/118: Sort nixPath attributes,
Ludovic Courtès <=
- 10/118: Remove ExprBuiltin, Ludovic Courtès, 2015/05/19
- 09/118: Make the Nix search path declarative, Ludovic Courtès, 2015/05/19
- 04/118: Ugly hack to allow --argstr values starting with a dash, Ludovic Courtès, 2015/05/19
- 19/118: Report daemon OOM better, Ludovic Courtès, 2015/05/19
- 06/118: Add primop ‘scopedImport’, Ludovic Courtès, 2015/05/19
- 21/118: Add autoloads, make code more concise & idiomatic, Ludovic Courtès, 2015/05/19
- 25/118: Fix bogus warnings about dumping large paths, Ludovic Courtès, 2015/05/19
- 20/118: == operator: Ignore string context, Ludovic Courtès, 2015/05/19
- 17/118: nix-env -qa --json: Generate valid JSON even if there are invalid meta attrs, Ludovic Courtès, 2015/05/19
- 23/118: findFile: Realise the context of the path attributes, Ludovic Courtès, 2015/05/19