cargo-edit: remove reference to <nixpkgs>

... it broke nixpkgs.tarball
This commit is contained in:
Uli Baum 2018-06-01 01:53:54 +02:00
parent ef7e0e8347
commit 0046d42397
2 changed files with 5 additions and 3 deletions

View File

@ -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:

View File

@ -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}";