skiplist/flake.nix

52 lines
1.1 KiB
Nix
Raw Normal View History

2024-03-13 19:07:17 +00:00
{
description = "A Concurrent Skip List library for key/value pairs.";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs =
{ self
, nixpkgs
, flake-utils
, ...
}:
flake-utils.lib.eachDefaultSystem (system:
let
# pkgs = nixpkgs.legacyPackages.${system};
pkgs = import nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
autoconf
bashInteractive
2024-03-28 00:34:47 +00:00
clang-tools
2024-03-13 19:07:17 +00:00
ed
gdb
2024-03-28 00:34:47 +00:00
graphviz-nox
2024-03-13 19:07:17 +00:00
meson
2024-03-28 00:34:47 +00:00
python311Packages.rbtools
2024-03-13 19:07:17 +00:00
];
};
buildInputs = with pkgs; [
glibc
];
nativeBuildInputs = with pkgs.buildPackages; [
act
binutils
coreutils
gcc
gettext
libtool
m4
make
perl
pkg-config
ripgrep
];
});
}