initial packaging

This commit is contained in:
Robin Appelman 2023-09-29 13:02:35 +02:00
commit 9f649d70d7
5 changed files with 149 additions and 0 deletions

23
flake.nix Normal file
View 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 {};
};
});
}