-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathflake.nix
More file actions
54 lines (50 loc) · 1.02 KB
/
Copy pathflake.nix
File metadata and controls
54 lines (50 loc) · 1.02 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
42
43
44
45
46
47
48
49
50
51
52
53
54
{
description = "Simple TUI audio mixer for PipeWire";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default-linux";
};
outputs =
{
self,
nixpkgs,
systems,
...
}:
let
eachSystem =
callback:
nixpkgs.lib.genAttrs (import systems) (
system: callback nixpkgs.legacyPackages.${system}
);
in
{
devShells = eachSystem (pkgs: {
default =
with pkgs;
mkShell {
packages = [
rustc
cargo
rustfmt
nixfmt-rfc-style
clippy
pkg-config
rustPlatform.bindgenHook
typos
pipewire
];
};
});
packages = eachSystem (
pkgs:
let
package = pkgs.callPackage ./package.nix { };
in
{
default = package;
wiremix = package;
}
);
};
}