krebs/5pkgs: move simple pkgs to a subdir
This commit is contained in:
parent
46d6506916
commit
f0b98bd011
@ -12,10 +12,8 @@ with import <stockholm/lib>;
|
|||||||
then trace "Upstream `${upstream.name}' gets overridden by `${override.name}'." override
|
then trace "Upstream `${upstream.name}' gets overridden by `${override.name}'." override
|
||||||
else override;
|
else override;
|
||||||
in {}
|
in {}
|
||||||
|
// import ./simple pkgs oldpkgs
|
||||||
// import ./writers.nix pkgs oldpkgs
|
// import ./writers.nix pkgs oldpkgs
|
||||||
// mapAttrs (_: flip callPackage {})
|
|
||||||
(filterAttrs (_: dir: pathExists (dir + "/default.nix"))
|
|
||||||
(subdirsOf ./.))
|
|
||||||
// {
|
// {
|
||||||
empty = pkgs.runCommand "empty-1.0.0" {} "mkdir $out";
|
empty = pkgs.runCommand "empty-1.0.0" {} "mkdir $out";
|
||||||
|
|
||||||
@ -33,13 +31,12 @@ with import <stockholm/lib>;
|
|||||||
(builtins.readDir ./haskell-overrides));
|
(builtins.readDir ./haskell-overrides));
|
||||||
};
|
};
|
||||||
|
|
||||||
ReaktorPlugins = callPackage ./Reaktor/plugins.nix {};
|
ReaktorPlugins = callPackage ./simple/Reaktor/plugins.nix {};
|
||||||
|
|
||||||
buildbot = callPackage ./buildbot {};
|
buildbot-full = callPackage ./simple/buildbot {
|
||||||
buildbot-full = callPackage ./buildbot {
|
|
||||||
plugins = with pkgs.buildbot-plugins; [ www console-view waterfall-view ];
|
plugins = with pkgs.buildbot-plugins; [ www console-view waterfall-view ];
|
||||||
};
|
};
|
||||||
buildbot-worker = callPackage ./buildbot/worker.nix {};
|
buildbot-worker = callPackage ./simple/buildbot/worker.nix {};
|
||||||
|
|
||||||
# https://github.com/proot-me/PRoot/issues/106
|
# https://github.com/proot-me/PRoot/issues/106
|
||||||
proot = pkgs.writeDashBin "proot" ''
|
proot = pkgs.writeDashBin "proot" ''
|
||||||
|
10
krebs/5pkgs/simple/default.nix
Normal file
10
krebs/5pkgs/simple/default.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
with import <stockholm/lib>;
|
||||||
|
|
||||||
|
self: super:
|
||||||
|
listToAttrs
|
||||||
|
(map
|
||||||
|
(name: nameValuePair (removeSuffix ".nix" name)
|
||||||
|
(super.callPackage (./. + "/${name}") {}))
|
||||||
|
(filter
|
||||||
|
(name: name != "default.nix" && !hasPrefix "." name)
|
||||||
|
(attrNames (readDir ./.))))
|
Loading…
Reference in New Issue
Block a user