File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 135135 stripAttrsForHydra
136136 filterDerivations ;
137137
138- in traceHydraJobs ( {
138+ flake = {
139139 inherit config ;
140140 overlay = self . overlays . combined ;
141141 overlays = import ./overlays { sources = inputs ; } ;
290290 "ghc901"
291291 "ghc921" "ghc922" "ghc923" ] )
292292 ) ;
293- } ) ;
293+ } ; in with ( import nixpkgs { system = "x86_64-linux" ; } ) ;
294+ traceHydraJobs ( lib . recursiveUpdate flake {
295+ hydraJobs . nix-tools = pkgs . releaseTools . aggregate {
296+ name = "nix-tools" ;
297+ constituents = [
298+ "aarch64-darwin.nix-tools-static"
299+ "x86_64-darwin.nix-tools-static"
300+ "x86_64-linux.nix-tools-static"
301+ "x86_64-linux.nix-tools-static-arm64"
302+ "aarch64-darwin.nix-tools-static-no-ifd"
303+ "x86_64-darwin.nix-tools-static-no-ifd"
304+ "x86_64-linux.nix-tools-static-no-ifd"
305+ "x86_64-linux.nix-tools-static-arm64-no-ifd"
306+ ( writeText "gitrev" ( self . rev or "0000000000000000000000000000000000000000" ) )
307+ ] ;
308+ } ;
309+ # hydraJobs.all-nix-tools = runCommand "all-nix-tools" {
310+ # } ''
311+ # mkdir $out
312+ # cp ${flake.hydraJobs.aarch64-darwin.nix-tools-static-no-ifd}/*.zip $out/
313+ # cp ${flake.hydraJobs.x86_64-darwin.nix-tools-static-no-ifd}/*.zip $out/
314+ # cp ${flake.hydraJobs.x86_64-linux.nix-tools-static-no-ifd}/*.zip $out/
315+ # cp ${flake.hydraJobs.x86_64-linux.nix-tools-static-arm64-no-ifd}/*.zip $out/
316+ # '';
317+ } ) ;
294318
295319 # --- Flake Local Nix Configuration ----------------------------
296320 nixConfig = {
You can’t perform that action at this time.
0 commit comments