bwbox/flake.nix

21 lines
572 B
Nix
Raw Normal View History

2022-04-07 11:32:09 +02:00
{
2022-05-12 17:51:55 +02:00
description = "An experimental sandboxing tool for linux apps";
2022-04-07 11:32:09 +02:00
inputs.nixpkgs.url = github:NixOS/nixpkgs;
outputs = { self, nixpkgs }: {
packages.x86_64-linux.default =
with import nixpkgs { system = "x86_64-linux"; };
nimPackages.buildNimPackage {
name = "bwbox";
src = self;
2023-06-23 15:31:08 +02:00
nativeBuildInputs = [pkgs.makeWrapper];
postInstall = ''
wrapProgram $out/bin/bwbox \
--prefix PATH ':' ${pkgs.bubblewrap}/bin \
--prefix PATH ':' ${pkgs.xdg-dbus-proxy}/bin
'';
2022-04-07 11:32:09 +02:00
};
};
}