forked from cryptoadvance/specter-diy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
30 lines (30 loc) · 744 Bytes
/
Copy pathshell.nix
File metadata and controls
30 lines (30 loc) · 744 Bytes
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
(import
(
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
fetchTarball {
url =
lock.nodes.flake-compat.locked.url
or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{
src = ./.;
}
).shellNix
url = "https://github.com/NixOS/nixpkgs/archive/nixos-22.05.tar.gz";
sha256 = "154x9swf494mqwi4z8nbq2f0sp8pwp4fvx51lqzindjfbb9yxxv5";
}) {}
}:
pkgs.mkShell {
nativeBuildInputs = [
pkgs.buildPackages.gcc-arm-embedded-9
pkgs.buildPackages.python39
pkgs.openocd
pkgs.stlink
pkgs.SDL2
];
hardeningDisable = ["all"];
}