add app
This commit is contained in:
parent
3edd80fca2
commit
4febd76b22
1 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,11 @@
|
||||||
hash = "sha256-1ZFvbGiTzAuBnKGUe/MAAI4D+d+jl/LCLcYqthkxB5M=";
|
hash = "sha256-1ZFvbGiTzAuBnKGUe/MAAI4D+d+jl/LCLcYqthkxB5M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
apps = system: pkgs: {
|
||||||
|
default = self.apps.${system}.probe;
|
||||||
|
probe = { type = "app"; program = "${self.packages.${system}.riotee-probe}/bin/riotee-probe"; };
|
||||||
|
};
|
||||||
|
|
||||||
packages = let
|
packages = let
|
||||||
packages = scan ./packages;
|
packages = scan ./packages;
|
||||||
in system: pkgs: builtins.mapAttrs (_: fn: pkgs.callPackage fn {}) packages;
|
in system: pkgs: builtins.mapAttrs (_: fn: pkgs.callPackage fn {}) packages;
|
||||||
|
|
@ -37,6 +42,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
apps = builtins.mapAttrs apps nixpkgs.legacyPackages;
|
||||||
packages = builtins.mapAttrs packages nixpkgs.legacyPackages;
|
packages = builtins.mapAttrs packages nixpkgs.legacyPackages;
|
||||||
devShells = builtins.mapAttrs devShells nixpkgs.legacyPackages;
|
devShells = builtins.mapAttrs devShells nixpkgs.legacyPackages;
|
||||||
overlays = builtins.mapAttrs overlays nixpkgs.legacyPackages;
|
overlays = builtins.mapAttrs overlays nixpkgs.legacyPackages;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue