Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nix-shell support. #76

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ nixpkgs ? import <nixpkgs> {} }:

let
pinnedPkgs = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/23.11.tar.gz";
sha256 = "1ndiv385w1qyb3b18vw13991fzb9wg4cl21wglk89grsfsnra41k";
};
pkgs = import pinnedPkgs {};
in

pkgs.mkShell {
buildInputs = with pkgs; [
pkgs.cargo
pkgs.rustc

pkgs.iconv
pkgs.llvm_17
pkgs.ncurses
pkgs.zlib
];
}