mirror of
https://github.com/icewind1991/infinitime-builder.git
synced 2026-06-04 18:14:11 +02:00
initial packaging
This commit is contained in:
commit
9f649d70d7
5 changed files with 149 additions and 0 deletions
23
flake.nix
Normal file
23
flake.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
inputs = {
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = "nixpkgs/release-23.05";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
utils,
|
||||
}:
|
||||
utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = (import nixpkgs) {
|
||||
inherit system;
|
||||
# nrf5-sdk is unfree
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in rec {
|
||||
packages = {
|
||||
default = pkgs.callPackage ./package.nix {};
|
||||
};
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue