bonfire/apps/default.nix

15 lines
393 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"; };
})