bwbox/flake.nix

21 lines
560 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"; };
2024-07-13 20:17:45 +02:00
buildNimPackage {
2022-04-07 11:32:09 +02:00
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
};
};
}