treewide: remove stdenv where not needed

This commit is contained in:
Ben Siraphob 2021-03-04 19:54:50 +07:00
parent 2d83eabaa9
commit 98f26993f2
21 changed files with 15 additions and 21 deletions

View file

@ -1,5 +1,5 @@
{ {
stdenv, lib, fetchFromGitHub, makeDesktopItem, prusa-slicer lib, fetchFromGitHub, makeDesktopItem, prusa-slicer
}: }:
let let
appname = "SuperSlicer"; appname = "SuperSlicer";

View file

@ -1,4 +1,4 @@
{ version ? "release", stdenv, lib, fetchFromGitHub, buildGoModule, coreutils }: { version ? "release", lib, fetchFromGitHub, buildGoModule, coreutils }:
let let

View file

@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, fetchurl, installShellFiles }: { lib, buildGoModule, fetchFromGitHub, fetchurl, installShellFiles }:
buildGoModule rec { buildGoModule rec {
pname = "cloudfoundry-cli"; pname = "cloudfoundry-cli";

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec { buildGoModule rec {
pname = "kube-capacity"; pname = "kube-capacity";

View file

@ -21,7 +21,6 @@
runtimeShell, runtimeShell,
shadow, shadow,
skopeo, skopeo,
stdenv,
storeDir ? builtins.storeDir, storeDir ? builtins.storeDir,
substituteAll, substituteAll,
symlinkJoin, symlinkJoin,

View file

@ -1,4 +1,4 @@
{ lib, stdenvNoCC, runCommand, awscli }: { lib, runCommand, awscli }:
{ s3url { s3url
, name ? builtins.baseNameOf s3url , name ? builtins.baseNameOf s3url

View file

@ -7,7 +7,6 @@
python2Packages, python2Packages,
python3Packages, python3Packages,
runCommand, runCommand,
stdenv,
writers, writers,
writeText writeText
}: }:

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, callPackage, wrapCCWith }: { lib, fetchFromGitHub, callPackage, wrapCCWith }:
let let
version = "4.0.1"; version = "4.0.1";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, mkDerivation, fetchFromBitbucket, makeWrapper, runCommand { lib, mkDerivation, fetchFromBitbucket, makeWrapper, runCommand
, python3, vapoursynth , python3, vapoursynth
, qmake, qtbase, qtwebsockets , qmake, qtbase, qtwebsockets
}: }:

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, buildOasisPackage { lib, fetchFromGitHub, buildOasisPackage
, ctypes, mariadb, libmysqlclient }: , ctypes, mariadb, libmysqlclient }:
buildOasisPackage rec { buildOasisPackage rec {

View file

@ -1,6 +1,5 @@
{ buildPackages { buildPackages
, lib , lib
, stdenv
, fetchpatch , fetchpatch
, python , python
, buildPythonPackage , buildPythonPackage

View file

@ -1,5 +1,4 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, sphinx , sphinx

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, git, pandoc, lib }: { buildGoPackage, fetchFromGitHub, git, pandoc, lib }:
buildGoPackage rec { buildGoPackage rec {
pname = "checkmake"; pname = "checkmake";

View file

@ -1,5 +1,4 @@
{ lib { lib
, stdenv
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, nix-update-script , nix-update-script

View file

@ -1,4 +1,4 @@
{ lib, stdenvNoCC, buildEnv, writeShellScriptBin, fetchurl, jre }: { lib, buildEnv, writeShellScriptBin, fetchurl, jre }:
let let
name = "legends-browser-${version}"; name = "legends-browser-${version}";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, runCommand }: { lib, runCommand }:
runCommand "documentation-highlighter" { runCommand "documentation-highlighter" {
meta = { meta = {
description = "Highlight.js sources for the Nix Ecosystem's documentation"; description = "Highlight.js sources for the Nix Ecosystem's documentation";

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, lib }: { buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec { buildGoModule rec {
pname = "flow-exporter"; pname = "flow-exporter";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests }: { lib, buildGoModule, fetchFromGitHub, nixosTests }:
let let
baseVersion = "0.3.1"; baseVersion = "0.3.1";

View file

@ -1,7 +1,6 @@
{ buildGoModule { buildGoModule
, fetchFromGitHub , fetchFromGitHub
, lib , lib
, stdenv
}: }:
buildGoModule rec { buildGoModule rec {

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3Packages, lib }: { fetchFromGitHub, python3Packages, lib }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "getmail6"; pname = "getmail6";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, gcc-arm-embedded, bluez5 { lib, mkDerivation, fetchFromGitHub, pkg-config, gcc-arm-embedded, bluez5
, readline , readline
, hardwarePlatform ? "PM3RDV4" , hardwarePlatform ? "PM3RDV4"