Fix warning about stdenv deprecation

This commit is contained in:
Tissevert 2021-02-09 17:38:34 +01:00
parent b5126f56bb
commit d139d0ab78
1 changed files with 5 additions and 5 deletions

View File

@ -3,8 +3,8 @@ builtins.intersectAttrs {hablo = 1; SJW = 1;} (pkgs.haskellPackages.override {
overrides = self: super: { overrides = self: super: {
hablo = self.callPackage ( hablo = self.callPackage (
{ mkDerivation, aeson, base, bytestring, Cabal, containers { mkDerivation, aeson, base, bytestring, Cabal, containers
, directory, filepath, lucid, mtl, optparse-applicative, parsec , directory, filepath, lib, lucid, mtl, optparse-applicative
, SJW, stdenv, template, text, time, unix , parsec, SJW, template, text, time, unix
}: }:
mkDerivation { mkDerivation {
pname = "hablo"; pname = "hablo";
@ -26,12 +26,12 @@ builtins.intersectAttrs {hablo = 1; SJW = 1;} (pkgs.haskellPackages.override {
]; ];
homepage = "https://git.marvid.fr/Tissevert/hablo"; homepage = "https://git.marvid.fr/Tissevert/hablo";
description = "A minimalist static blog generator"; description = "A minimalist static blog generator";
license = stdenv.lib.licenses.bsd3; license = lib.licenses.bsd3;
} }
) {}; ) {};
SJW = self.callPackage ( SJW = self.callPackage (
{ mkDerivation, attoparsec, base, Cabal, containers, directory { mkDerivation, attoparsec, base, Cabal, containers, directory
, filepath, mtl, optparse-applicative, random, stdenv, text, time , filepath, lib, mtl, optparse-applicative, random, text, time
, unix , unix
}: }:
mkDerivation { mkDerivation {
@ -54,7 +54,7 @@ builtins.intersectAttrs {hablo = 1; SJW = 1;} (pkgs.haskellPackages.override {
benchmarkHaskellDepends = [ base directory filepath random time ]; benchmarkHaskellDepends = [ base directory filepath random time ];
homepage = "https://git.marvid.fr/Tissevert/SJW"; homepage = "https://git.marvid.fr/Tissevert/SJW";
description = "The Simple Javascript Wrench is a very simple tool to pack several JS «modules» into a single script"; description = "The Simple Javascript Wrench is a very simple tool to pack several JS «modules» into a single script";
license = stdenv.lib.licenses.bsd3; license = lib.licenses.bsd3;
} }
) {}; ) {};
}; };