removed all __primops from nixpkgs
svn path=/nixpkgs/trunk/; revision=15693
This commit is contained in:
@@ -12,8 +12,9 @@
|
||||
|
||||
args: with args; with args.lib;
|
||||
let
|
||||
inherit (builtins) getAttr attrNames;
|
||||
toConfigLine = name : set :
|
||||
"[(\"name\",\"${name}\")," + ( concatStringsSep "," (map (a: "(\"${a}\",\"${__getAttr a set}\")" ) (__attrNames set)))+"]";
|
||||
"[(\"name\",\"${name}\")," + ( concatStringsSep "," (map (a: "(\"${a}\",\"${getAttr a set}\")" ) (attrNames set)))+"]";
|
||||
config = pkgs.writeText "nix-repository-manager_config"
|
||||
(bleedingEdgeRepos.managedRepoDir+"\n" +
|
||||
concatStringsSep "\n" (mapRecordFlatten toConfigLine (bleedingEdgeRepos.repos)));
|
||||
|
||||
@@ -47,7 +47,7 @@ rec {
|
||||
inherit searchRelativeTo;
|
||||
|
||||
# Forces rebuilds.
|
||||
hack = __currentTime;
|
||||
hack = builtins.currentTime;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user