Revert "remove references to stdenv and replace with lib"

This reverts commit 0dd9ecdafe.
This commit is contained in:
Tim Schubert 2021-06-02 20:25:59 +02:00
parent 0dd9ecdafe
commit d62566250f
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
6 changed files with 13 additions and 16 deletions

View file

@ -17,6 +17,7 @@ with pkgs; [
direnv direnv
element-desktop element-desktop
evince evince
gnome3.evolution
ffmpeg ffmpeg
file file
firefox firefox

View file

@ -1,10 +1,9 @@
{ lib { stdenv
, git , git
, openssh , openssh
, bash , bash
}: }:
with lib; stdenv.mkDerivation rec {
mkDerivation rec {
name = "dadada-deploy"; name = "dadada-deploy";
version = "0.1"; version = "0.1";
@ -25,7 +24,7 @@ mkDerivation rec {
install $script $out/bin/ install $script $out/bin/
done done
''; '';
meta = { meta = with stdenv.lib; {
description = "deploy scripts"; description = "deploy scripts";
license = licenses.publicDomain; license = licenses.publicDomain;
platforms = platforms.linux; platforms = platforms.linux;

View file

@ -1,6 +1,5 @@
{ lib, pandoc, fetchFromGitHub }: { stdenv, pandoc, fetchFromGitHub }:
with lib; stdenv.mkDerivation rec {
mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dadada"; owner = "dadada";
repo = "dadada.li"; repo = "dadada.li";

View file

@ -1,7 +1,6 @@
{ lib }: { stdenv }:
with lib; stdenv.mkDerivation rec {
mkDerivation rec {
name = "dadadaKeys"; name = "dadadaKeys";
version = "1"; version = "1";
@ -14,7 +13,7 @@ mkDerivation rec {
cp * $out cp * $out
''; '';
meta = { meta = with stdenv.lib; {
description = "Public keys for my infrastructure"; description = "Public keys for my infrastructure";
license = licenses.publicDomain; license = licenses.publicDomain;
platforms = platforms.all; platforms = platforms.all;

View file

@ -1,4 +1,4 @@
{ lib }: { stdenv }:
(import (import
(builtins.fetchGit { (builtins.fetchGit {
@ -6,4 +6,4 @@
ref = "main"; ref = "main";
rev = "3393073cd3511d43f622972b891a20ba069fa052"; rev = "3393073cd3511d43f622972b891a20ba069fa052";
}) })
{ inherit lib; }) { inherit stdenv; })

View file

@ -1,6 +1,5 @@
{ lib, fetchzip, unzip }: { stdenv, fetchzip, unzip }:
with lib; stdenv.mkDerivation rec {
mkDerivation rec {
src = ./tubslatex_1.3.2.tds.zip; src = ./tubslatex_1.3.2.tds.zip;
sourceRoot = "."; sourceRoot = ".";
nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ unzip ];