Add shell.nix

This commit is contained in:
Chandler Swift 2024-11-12 00:22:43 -06:00
parent a8082d14d0
commit a4111ca13b
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
3 changed files with 14 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix;

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
main
index.html
.direnv

12
shell.nix Normal file
View file

@ -0,0 +1,12 @@
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
pkgs.mkShellNoCC {
packages = with pkgs; [
go
xorg.xorgserver # xorg.xvfb once https://github.com/NixOS/nixpkgs/commit/43ebb05c575221362b44d7cc9a0f0cd1b5d3a53d hits stable
xorg.xauth
];
}