Skip to content

Commit

Permalink
Merge pull request #268 from helsing-ai/ulucs/update-crane
Browse files Browse the repository at this point in the history
Update crane version to latest
  • Loading branch information
ulucs authored Sep 25, 2024
2 parents 0af7734 + f98c660 commit 0cf7c49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
11 changes: 3 additions & 8 deletions flake.lock

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

5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
};
crane.url = "github:ipetkov/crane";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down
6 changes: 3 additions & 3 deletions nix/buffrs.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ pkgs, crane, rustToolchain, system, advisory-db, buildInputs
, nativeBuildInputs, buildEnvVars }:
{ pkgs, crane, rustToolchain, advisory-db, buildInputs, nativeBuildInputs
, buildEnvVars }:
let
craneLib = crane.lib.${system}.overrideToolchain rustToolchain;
craneLib = (crane.mkLib pkgs).overrideToolchain rustToolchain;
src = ../.;

# Common arguments can be set here to avoid repeating them later
Expand Down

0 comments on commit 0cf7c49

Please sign in to comment.