mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-13 08:06:18 +03:00
a2f5f0bb67
Runs outdated nix version which cannot fetch git submodules
23 lines
529 B
Nix
23 lines
529 B
Nix
let
|
|
b = builtins;
|
|
flakeCompatSrc = b.fetchurl "https://raw.githubusercontent.com/edolstra/flake-compat/12c64ca55c1014cdc1b16ed5a804aa8576601ff2/default.nix";
|
|
flake = (import flakeCompatSrc { src = ./.; }).defaultNix;
|
|
pkgs = import flake.inputs.nixpkgs {};
|
|
recurseIntoAll = b.mapAttrs (name: val: pkgs.recurseIntoAttrs val);
|
|
|
|
in
|
|
# {
|
|
# inherit flake;
|
|
# }
|
|
|
|
# // (recurseIntoAll {
|
|
|
|
# checks = flake.checks.x86_64-linux;
|
|
|
|
# })
|
|
|
|
# hercules ci's nix version cannot fetch submodules and crashes
|
|
{
|
|
inherit (pkgs) hello;
|
|
}
|