mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-23 09:04:37 +03:00
076a1c9aff
closes #84
18 lines
542 B
Nix
18 lines
542 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;
|
|
}
|