12345678910111213141516171819202122 |
- let
- sources = import ./nix/sources.nix;
- pkgs = import sources.nixpkgs {};
- in
- pkgs.mkShell rec {
- packages = with pkgs; [
- # general
- rustup
- nixpkgs-fmt
- niv
- # integration test
- grub2
- qemu
- xorriso
- ];
- # To invoke "nix-shell" in the CI-runner, we need a global Nix channel.
- # For better reproducibility inside the Nix shell, we override this channel
- # with the pinned nixpkgs version.
- NIX_PATH = "nixpkgs=${sources.nixpkgs}";
- }
|