Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
ad5e2dc5
Unverified
Commit
ad5e2dc5
authored
4 years ago
by
kaichao
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Nix shell sync with Substrate (
#100
)
* nix shell config * fix darwin * update nightly for nix shell
parent
462689b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shell.nix
+25
-0
25 additions, 0 deletions
shell.nix
with
25 additions
and
0 deletions
shell.nix
0 → 100644
+
25
−
0
View file @
ad5e2dc5
let
mozillaOverlay
=
import
(
builtins
.
fetchGit
{
url
=
"https://github.com/mozilla/nixpkgs-mozilla.git"
;
rev
=
"57c8084c7ef41366993909c20491e359bbb90f54"
;
});
nixpkgs
=
import
<
nixpkgs
>
{
overlays
=
[
mozillaOverlay
];
};
rust-nightly
=
with
nixpkgs
;
((
rustChannelOf
{
date
=
"2020-10-05"
;
channel
=
"nightly"
;
})
.
rust
.
override
{
targets
=
[
"wasm32-unknown-unknown"
];
});
in
with
nixpkgs
;
pkgs
.
mkShell
{
buildInputs
=
[
clang
cmake
pkg-config
rust-nightly
]
++
stdenv
.
lib
.
optionals
stdenv
.
isDarwin
[
darwin
.
apple_sdk
.
frameworks
.
Security
];
LIBCLANG_PATH
=
"
${
llvmPackages
.
libclang
}
/lib"
;
PROTOC
=
"
${
protobuf
}
/bin/protoc"
;
ROCKSDB_LIB_DIR
=
"
${
rocksdb
}
/lib"
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment