Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let
deps = {
crane = lib.call ./deps/crane.nix;
rustGPU = lib.call ./deps/rust-gpu.nix;
cargoAbout = lib.call ./deps/cargo-about.nix;
};

args = {
Expand Down
18 changes: 18 additions & 0 deletions .nix/deps/cargo-about.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# TODO: Remove once nixpkgs ships cargo-about >= 0.9.3, and switch back to `pkgs.cargo-about`
{ pkgs, ... }:

pkgs.cargo-about.overrideAttrs (
finalAttrs: _: {
version = "0.9.3";
Comment thread
timon-schelling marked this conversation as resolved.
src = pkgs.fetchFromGitHub {
owner = "EmbarkStudios";
repo = "cargo-about";
tag = finalAttrs.version;
hash = "sha256-Jlr4TYNZkzYo5V77n0YYrx1e8m17ELN/1+ZcR/Bl0K4=";
};
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-kNGfQQumgvtDPhiQcqc9K2ohhEsTzuySeisHcNcmig8=";
};
}
)
2 changes: 1 addition & 1 deletion .nix/dev.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let
pkgs.nodejs
pkgs.binaryen
pkgs.wasm-bindgen-cli_0_2_127
pkgs.cargo-about
deps.cargoAbout

pkgs.rustc
pkgs.cargo
Expand Down
2 changes: 1 addition & 1 deletion .nix/pkgs/graphite.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ deps.crane.lib.buildPackage (
pkgs.nodejs
pkgs.binaryen
pkgs.wasm-bindgen-cli_0_2_127
pkgs.cargo-about
deps.cargoAbout
pkgs.removeReferencesTo
pkgs.importNpmLock.npmConfigHook
];
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading