Update nixos support
Add flake.nix file and update shell.nix.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
let
|
||||
# Pinned nixpkgs, deterministic. Last updated: 2/12/21.
|
||||
pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/a58a0b5098f0c2a389ee70eb69422a052982d990.tar.gz")) {};
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
# 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];
|
||||
pkgs.mkShell {
|
||||
buildInputs =
|
||||
[ pkgs.cargo pkgs.rustc pkgs.webkitgtk pkgs.pkg-config pkgs.kdialog ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user