This repository was archived by the owner on Dec 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
41 lines (36 loc) · 1.21 KB
/
flake.nix
File metadata and controls
41 lines (36 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
description = "A pytest unit for a saleae unit";
# Everything your flake needs (typically other flakes)
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
# OpenSeeFace = {
# url = "github:ChanceCtrl/OpenSeeFace_nixed";
# inputs.nixpkgs.follows = "nixpkgs";
# inputs.flake-utils.follows = "flake-utils";
# };
};
# Everything your flake provides
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
# This combined with the flake-utils package abstracts what architecture you are building for
pkgs = import nixpkgs {
inherit system;
};
# Defines a dev shell setup with inputs from this flake
shell = pkgs.mkShell {
# All the packages you want in the dev shell
packages = [
pkgs.uv
pkgs.rustup
# OpenSeeFace.packages.${system}.default
];
};
# This is the part that define what and how things are exported
in {
# And this sets our shell config as the default shell config for nix develop
devShells.default = shell;
}
);
}