shell.nix 470 B

12345678910111213141516171819202122
  1. let
  2. sources = import ./nix/sources.nix;
  3. pkgs = import sources.nixpkgs {};
  4. in
  5. pkgs.mkShell rec {
  6. packages = with pkgs; [
  7. # general
  8. rustup
  9. nixpkgs-fmt
  10. niv
  11. # integration test
  12. grub2
  13. qemu
  14. xorriso
  15. ];
  16. # To invoke "nix-shell" in the CI-runner, we need a global Nix channel.
  17. # For better reproducibility inside the Nix shell, we override this channel
  18. # with the pinned nixpkgs version.
  19. NIX_PATH = "nixpkgs=${sources.nixpkgs}";
  20. }