50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{
|
|
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
|
|
graphviz-nox
|
|
ed
|
|
gdb
|
|
clang-tools
|
|
meson
|
|
];
|
|
};
|
|
buildInputs = with pkgs; [
|
|
glibc
|
|
];
|
|
nativeBuildInputs = with pkgs.buildPackages; [
|
|
act
|
|
binutils
|
|
coreutils
|
|
gcc
|
|
gettext
|
|
libtool
|
|
m4
|
|
make
|
|
perl
|
|
pkg-config
|
|
ripgrep
|
|
];
|
|
});
|
|
}
|