Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Astro
rust-card10
Commits
22c5d4b6
Verified
Commit
22c5d4b6
authored
Aug 23, 2019
by
Kloenk
Browse files
fix shell.nix
fix missing ';' and fix stdint.h and stddef.h header search path as environment variable
parent
efc5ae56
Pipeline
#3258
failed with stage
in 21 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
shell.nix
View file @
22c5d4b6
...
...
@@ -13,8 +13,9 @@ stdenv.mkDerivation {
openocd
];
LIBCLANG_PATH
=
"
${
llvmPackages
.
libclang
}
/lib"
LIBCLANG_PATH
=
"
${
llvmPackages
.
libclang
}
/lib"
;
shellHook
=
''
export CPATH="
${
glibc_multi
.
dev
}
/include:
${
stdenv
.
cc
.
cc
}
/lib/gcc/$(cc -dumpmachine)/
${
lib
.
getVersion
pkgsCross
.
arm-embedded
.
stdenv
.
cc
.
cc
}
/include"
echo "Run 'cargo build --release'"
''
;
}
Write
Preview
Supports
Markdown
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