bonfire/apps/default.nix

16 lines
442 B
Nix
Raw Normal View History

2023-12-19 11:52:26 +05:00
{ self, nixpkgs, ... }:
let
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" ];
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
in forAllSystems(system: let
pkgs = nixpkgsFor.${system};
bpkgs = self.packages.${system};
blib = self.lib;
in {
example = blib.mkApp { drv = bpkgs.example; name = "hello-nix"; };
2023-12-19 12:36:54 +05:00
netgen = blib.mkApp { drv = bpkgs.netgen; };
2023-12-19 11:52:26 +05:00
})