File tree Expand file tree Collapse file tree 4 files changed +24
-19
lines changed Expand file tree Collapse file tree 4 files changed +24
-19
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ lib ,
2
3
mkShell ,
4
+ stdenv ,
3
5
cdrtools ,
4
6
curl ,
5
7
gawk ,
@@ -34,7 +36,6 @@ mkShell {
34
36
curl
35
37
gawk
36
38
git
37
- glxinfo
38
39
gnugrep
39
40
gnused
40
41
jq
@@ -46,12 +47,14 @@ mkShell {
46
47
qemu
47
48
socat
48
49
spice-gtk
49
- swtpm
50
50
unzip
51
- usbutils
52
51
util-linux
53
- xdg-user-dirs
54
52
xrandr
53
+ ] ++ lib . optionals stdenv . isLinux [
54
+ glxinfo
55
+ swtpm
56
+ usbutils
57
+ xdg-user-dirs
55
58
zsync
56
59
OVMF
57
60
OVMFFull
Original file line number Diff line number Diff line change 13
13
forAllSystems = function :
14
14
nixpkgs . lib . genAttrs [
15
15
"x86_64-linux"
16
- # TODO: Add support for these platforms in quickemu and quickget
17
- # "aarch64-linux"
18
- # "x86_64-darwin"
19
- # "aarch64-darwin"
16
+ "aarch64-linux"
17
+ "x86_64-darwin"
18
+ "aarch64-darwin"
20
19
] ( system : function nixpkgs . legacyPackages . ${ system } ) ;
21
20
in {
22
21
# Schemas tell Nix about the structure of your flake's outputs
Original file line number Diff line number Diff line change 33
33
cdrtools
34
34
curl
35
35
gawk
36
- glxinfo
37
36
gnugrep
38
37
gnused
39
38
jq
45
44
socat
46
45
swtpm
47
46
unzip
48
- usbutils
49
47
util-linux
50
- xdg-user-dirs
51
48
xrandr
52
49
zsync
50
+ ] ++ lib . optionals stdenv . isLinux [
51
+ glxinfo
52
+ usbutils
53
+ xdg-user-dirs
53
54
] ;
54
55
in
55
56
You can’t perform that action at this time.
0 commit comments