-
Notifications
You must be signed in to change notification settings - Fork 39
Use NIX for CI #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use NIX for CI #113
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| use flake |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,9 @@ | ||
| target | ||
| Cargo.lock | ||
|
|
||
| # Node.js | ||
| node_modules/ | ||
| dist/ | ||
|
||
|
|
||
| # Direnv | ||
| .direnv/ | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| { | ||
| description = "Web Transport development environment"; | ||
|
|
||
| inputs = { | ||
| nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | ||
| flake-utils.url = "github:numtide/flake-utils"; | ||
| }; | ||
|
|
||
| outputs = | ||
| { | ||
| self, | ||
| nixpkgs, | ||
| flake-utils, | ||
| }: | ||
| flake-utils.lib.eachDefaultSystem ( | ||
| system: | ||
| let | ||
| pkgs = import nixpkgs { inherit system; }; | ||
|
|
||
| tools = [ | ||
| pkgs.rustc | ||
| pkgs.cargo | ||
| pkgs.rustfmt | ||
| pkgs.clippy | ||
| pkgs.cargo-shear | ||
| pkgs.cargo-sort | ||
| pkgs.cargo-edit | ||
| pkgs.just | ||
| pkgs.pkg-config | ||
| pkgs.glib | ||
| pkgs.gtk3 | ||
| ]; | ||
| in | ||
| { | ||
| devShells.default = pkgs.mkShell { | ||
| packages = tools; | ||
| }; | ||
| } | ||
| ); | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.