2024-04-03 00:41:55 +00:00
|
|
|
{
|
|
|
|
description = "A Concurrent Skip List library for key/value pairs.";
|
|
|
|
|
2024-04-05 14:34:59 +00:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
2024-04-03 00:41:55 +00:00
|
|
|
|
|
|
|
outputs =
|
|
|
|
{ self
|
|
|
|
, nixpkgs
|
|
|
|
, flake-utils
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
config = { allowUnfree = true; };
|
|
|
|
};
|
2024-04-05 14:34:59 +00:00
|
|
|
supportedSystems = [ "x86_64-linux" ];
|
|
|
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
|
|
|
nixpkgsFor = forAllSystems (system: import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
overlays = [ self.overlay ];
|
|
|
|
});
|
|
|
|
in {
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
devShell = nixpkgs.legacyPackages.${system} {
|
|
|
|
pkgs.mkShell = {
|
|
|
|
nativeBuildInputs = with pkgs.buildPackages; [
|
|
|
|
act
|
|
|
|
autoconf
|
|
|
|
clang
|
|
|
|
ed
|
|
|
|
gcc
|
|
|
|
gdb
|
|
|
|
gettext
|
|
|
|
graphviz-nox
|
|
|
|
libtool
|
|
|
|
m4
|
|
|
|
perl
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
ripgrep
|
2024-04-09 02:01:30 +00:00
|
|
|
valgrind
|
2024-04-05 14:34:59 +00:00
|
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
libbacktrace
|
|
|
|
glibc.out
|
|
|
|
glibc.static
|
|
|
|
];
|
|
|
|
};
|
|
|
|
DOCKER_BUILDKIT = 1;
|
|
|
|
};
|
2024-04-03 00:41:55 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|