Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
5e4232d389d15d5db6952de7dadab1db427ae8d3
/
.
/
util
/
liveiso
/
build.sh
blob: ee63bc538a2377cd5a6fbbb871246b90638e5137 [
file
] [
log
] [
blame
]
#!/usr/bin/env sh
config
=
$1
if
[
-
z
"$config"
]
||
[
!
-
f
"$config"
];
then
echo
"Usage: $0 <config.nix>"
echo
"No config given. Exiting."
exit
1
fi
nix
-
build
'<nixpkgs/nixos>'
\
-
A config
.
system
.
build
.
isoImage \
-
I nixos
-
config
=
$config