mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
cargo-edit: remove reference to <nixpkgs>
... it broke nixpkgs.tarball
This commit is contained in:
parent
ef7e0e8347
commit
0046d42397
@ -1,5 +1,7 @@
|
||||
# Generated by carnix 0.6.6: carnix -o cargo-edit.nix --src ./. Cargo.lock --standalone
|
||||
with import <nixpkgs> {};
|
||||
{ pkgs }:
|
||||
|
||||
with pkgs;
|
||||
let kernel = buildPlatform.parsed.kernel.name;
|
||||
abi = buildPlatform.parsed.abi.name;
|
||||
include = includedFiles: src: builtins.filterSource (path: type:
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, darwin, defaultCrateOverrides, fetchFromGitHub }:
|
||||
{ stdenv, pkgs, darwin, defaultCrateOverrides, fetchFromGitHub }:
|
||||
|
||||
((import ./cargo-edit.nix).cargo_edit {}).override {
|
||||
((import ./cargo-edit.nix { inherit pkgs; }).cargo_edit {}).override {
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
cargo-edit = attrs: rec {
|
||||
name = "cargo-edit-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user