add nix build shell

This commit is contained in:
eatb33ts
2021-05-14 01:06:46 -07:00
parent 6dceac8612
commit 2facb849e8
2 changed files with 16 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
let
# Pinned nixpkgs, deterministic. Last updated: 2/12/21.
pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/a58a0b5098f0c2a389ee70eb69422a052982d990.tar.gz")) {};
# Rolling updates, not deterministic.
# pkgs = import (fetchTarball("channel:nixpkgs-unstable")) {};
in pkgs.mkShell {
buildInputs = [ pkgs.cargo pkgs.rustc pkgs.webkitgtk pkgs.pkg-config pkgs.kdialog];
}