nix_actor/shell.nix

18 lines
425 B
Nix
Raw Permalink Normal View History

2023-10-09 18:57:05 +00:00
{ pkgs ? import <nixpkgs> { } }:
2023-06-07 17:06:11 +00:00
let
2023-10-09 18:57:05 +00:00
nix' = pkgs.nix.overrideAttrs (final: prev: {
src = pkgs.fetchFromGitHub {
2023-12-08 06:24:29 +00:00
owner = "tweag";
2023-10-09 18:57:05 +00:00
repo = "nix";
2023-12-08 06:24:29 +00:00
rev = "nix-c-bindings";
hash = "sha256-xOyU79lsz0THOj1LccfsDS45089n2DhlkWxaJFeKriY=";
2023-10-09 18:57:05 +00:00
};
});
2023-12-08 06:24:29 +00:00
in pkgs.buildNimPackage {
2023-10-09 18:57:05 +00:00
name = "dummy";
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.boost nix' ];
2023-12-08 06:24:29 +00:00
lockFile = ./lock.json;
2023-10-09 18:57:05 +00:00
}