We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1934f94 commit de99d6bCopy full SHA for de99d6b
flake.nix
@@ -0,0 +1,36 @@
1
+{
2
+ inputs = {
3
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
4
+ };
5
+
6
+ outputs =
7
+ { nixpkgs, ... }:
8
+ let
9
+ forAllSystems = nixpkgs.lib.genAttrs [
10
+ "aarch64-linux"
11
+ "x86_64-linux"
12
+ "aarch64-darwin"
13
+ ];
14
+ in
15
+ {
16
+ devShells = forAllSystems (
17
+ system:
18
19
+ pkgs = nixpkgs.legacyPackages.${system};
20
21
22
+ default = pkgs.mkShell {
23
+ nativeBuildInputs = with pkgs; [
24
+ pkg-config
25
26
+ buildInputs = with pkgs; [
27
+ rustup
28
+ libinput
29
+ udev
30
31
32
33
+ }
34
+ );
35
36
+}
0 commit comments