melodypond/flake.nix

27 lines
546 B
Nix
Raw Normal View History

2023-04-04 17:51:16 +00:00
{
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
{
2023-04-04 17:51:16 +00:00
packages = let
orange = import ./sd-card.nix { inherit pkgs; };
in
{
default = orange;
2023-04-04 17:51:16 +00:00
};
}
);
}