summaryrefslogtreecommitdiff
path: root/kernel/shell.nix
blob: 8e4079b3a447750dac158b5768cbc912bd5d9350 (plain)
1
2
3
4
5
6
7
8
9
10
11
with import (fetchTarball {
  url = https://github.com/NixOS/nixpkgs/archive/9708378251ee362a3a8861e4d0c3ffe45a21c566.tar.gz;
  sha256 = "000n0vsdhii77qh5arn0lsf747xhk7y1x0mszh39psj3in0fadzl";
}) { };
mkShell {
  name = "uff-os";
  buildInputs = [ rustup nasm grub2 gcc xorriso ];
  shellHook = ''
    export GRUB_i386="${grub2}/lib/grub/i386-pc"
  '';
}