pkgs/development/compilers: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-22 18:25:31 +07:00
parent bbaff89ceb
commit acc5f7b18a
320 changed files with 1660 additions and 1657 deletions

View File

@@ -1,5 +1,5 @@
{ mkDerivation, base, Cabal, containers, directory, extra, filepath
, mtl, parsec, pretty, stdenv, time, transformers
, mtl, parsec, pretty, lib, stdenv, time, transformers
}:
mkDerivation {
pname = "curry-base";
@@ -12,5 +12,5 @@ mkDerivation {
testHaskellDepends = [ base Cabal filepath mtl ];
homepage = "http://curry-language.org";
description = "Functions for manipulating Curry programs";
license = stdenv.lib.licenses.bsd3;
license = lib.licenses.bsd3;
}

View File

@@ -1,6 +1,6 @@
{ mkDerivation, base, bytestring, Cabal, containers, curry-base
, directory, extra, file-embed, filepath, mtl, network-uri, pretty
, process, set-extra, stdenv, template-haskell, transformers
, process, set-extra, lib, stdenv, template-haskell, transformers
}:
mkDerivation {
pname = "curry-frontend";
@@ -22,5 +22,5 @@ mkDerivation {
testHaskellDepends = [ base Cabal curry-base filepath ];
homepage = "http://curry-language.org";
description = "Compile the functional logic language Curry to several intermediate formats";
license = stdenv.lib.licenses.bsd3;
license = lib.licenses.bsd3;
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper
{ lib, stdenv, fetchurl, makeWrapper
, haskellPackages, haskell
, which, swiProlog, rlwrap, tk
, curl, git, unzip, gnutar, coreutils, sqlite }:
@@ -74,10 +74,10 @@ in stdenv.mkDerivation {
# List of dependencies from currytools/cpm/src/CPM/Main.curry
wrapProgram $out/pakcs/bin/cypm \
--prefix PATH ":" "${stdenv.lib.makeBinPath [ curl git unzip gnutar coreutils sqlite ]}"
--prefix PATH ":" "${lib.makeBinPath [ curl git unzip gnutar coreutils sqlite ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.informatik.uni-kiel.de/~pakcs/";
description = "An implementation of the multi-paradigm declarative language Curry";
license = licenses.bsd3;