Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Astro
rust-card10
Commits
673ef495
Commit
673ef495
authored
Sep 16, 2019
by
Astro
⚙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default.nix: update card10-sys/firmware if firmwareSrc was passed
parent
50fcb55b
Pipeline
#3985
passed with stage
in 9 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
default.nix
default.nix
+3
-0
No files found.
default.nix
View file @
673ef495
...
...
@@ -29,6 +29,9 @@ let
buildInputs
=
[
pkgsCross
.
arm-embedded
.
stdenv
.
cc
];
prePatch
=
''
cp
${
epic-stubs
}
/client.c card10-sys/vendor/
''
+
lib
.
optionalString
(
firmwareSrc
!=
./card10-sys/firmware
)
''
rm -r card10-sys/firmware
cp -r
${
firmwareSrc
}
card10-sys/firmware
''
;
NIX_DEBUG
=
1
;
LIBCLANG_PATH
=
"
${
llvmPackages
.
libclang
}
/lib"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment