clboss/shell.nix
Vincenzo Palazzo a61e593c0e meta: add the nix build machine
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-08-17 16:11:13 -07:00

13 lines
511 B
Nix

(import
(
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{ src = ./.; }
# Since a lot of existing CI tests is based on `shell.nix`
# we forward to the integrationTests shell, instead of the
# default (developer) shell.
).shellNix.devShells."${builtins.currentSystem}".integrationTests