27 lines
546 B
Nix
27 lines
546 B
Nix
{
|
|
description = "my project description";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = inputs@{self, nixpkgs, flake-utils, ...}:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
crossSystem = nixpkgs.lib.systems.examples.aarch64-multiplatform;
|
|
};
|
|
in
|
|
{
|
|
packages = let
|
|
orange = import ./sd-card.nix { inherit pkgs; };
|
|
in
|
|
{
|
|
default = orange;
|
|
};
|
|
}
|
|
);
|
|
}
|