-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
flake.nix
41 lines (39 loc) · 1.01 KB
/
flake.nix
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 = "fak-kiwi";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
naersk.url = "github:nix-community/naersk";
};
outputs = { self, nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
naersk = pkgs.callPackage inputs.naersk {};
in
{
devShells.${system}.default = pkgs.mkShell {
packages =
let
wchisp = naersk.buildPackage rec {
pname = "wchisp";
version = "0.3-git";
src = pkgs.fetchFromGitHub {
owner = "ch32-rs";
repo = pname;
rev = "4b4787243ef9bc87cbbb0d95c7482b4f7c9838f1";
hash = "sha256-Ju2DBv3R4O48o8Fk/AFXOBIsvGMK9hJ8Ogxk47f7gcU=";
};
};
in
with pkgs; [
zig_0_11
zls
nickel
nls
topiary
wchisp
picotool
];
};
};
}