tv: add 18.09 compatibility

This commit is contained in:
tv 2018-10-06 23:48:20 +02:00
parent e4c90d8cbe
commit 5641a6ad03
13 changed files with 56 additions and 12 deletions

View File

@ -1,11 +1,24 @@
{ mkDerivation, base, fetchgit, stdenv }: with import <stockholm/lib>;
mkDerivation rec { { mkDerivation, base, fetchgit, stdenv }: let
cfg = {
"18.03" = {
version = "1.1.0";
sha256 = "1k908zap3694fcxdk4bb29s54b0lhdh557y10ybjskfwnym7szn1";
};
"18.09" = {
version = "1.2.0";
sha256 = "03hz43ixww0h4fwxqrlrlvmj3pxswhb50ijaapwjz8457il2r300";
};
}.${versions.majorMinor nixpkgsVersion};
in mkDerivation {
pname = "blessings"; pname = "blessings";
version = "1.2.0"; version = cfg.version;
src = fetchgit { src = fetchgit {
url = http://cgit.ni.krebsco.de/blessings; url = http://cgit.ni.krebsco.de/blessings;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${cfg.version}";
sha256 = "03hz43ixww0h4fwxqrlrlvmj3pxswhb50ijaapwjz8457il2r300"; sha256 = cfg.sha256;
}; };
libraryHaskellDepends = [ base ]; libraryHaskellDepends = [ base ];
doHaddock = false; doHaddock = false;

View File

@ -1,14 +1,29 @@
with import <stockholm/lib>;
{ mkDerivation, attoparsec, base, base64-bytestring, bytestring { mkDerivation, attoparsec, base, base64-bytestring, bytestring
, case-insensitive, containers, exceptions, fetchgit, QuickCheck , case-insensitive, containers, exceptions, fetchgit, QuickCheck
, stdenv, tasty, tasty-quickcheck, text, text-icu, time , stdenv, tasty, tasty-quickcheck, text, text-icu, time
}: }: let
mkDerivation rec {
cfg = {
"18.03" = {
version = "0.3.0";
rev = "7b179bd31192ead8afe7a0b6e34bcad4039deaa8";
sha256 = "12j2n3sbvzjnw99gga7kkdygm8n3qx2lh8q26ad6a53xm5whnz59";
};
"18.09" = {
version = "0.4.1-tv1";
rev = "refs/tags/v${cfg.version}";
sha256 = "11xjivpj495r2ss9aqljnpzzycb57cm4sr7yzmf939rzwsd3ib0x";
};
}.${versions.majorMinor nixpkgsVersion};
in mkDerivation {
pname = "email-header"; pname = "email-header";
version = "0.4.1-tv1"; version = cfg.version;
src = fetchgit { src = fetchgit {
url = "https://github.com/4z3/email-header"; url = "https://github.com/4z3/email-header";
rev = "refs/tags/v${version}"; rev = cfg.rev;
sha256 = "11xjivpj495r2ss9aqljnpzzycb57cm4sr7yzmf939rzwsd3ib0x"; sha256 = cfg.sha256;
}; };
buildDepends = [ buildDepends = [
attoparsec base base64-bytestring bytestring case-insensitive attoparsec base base64-bytestring bytestring case-insensitive

View File

@ -41,7 +41,6 @@ with import <stockholm/lib>;
mkpasswd mkpasswd
netcat netcat
netcup netcup
nix-repl
nmap nmap
p7zip p7zip
pass pass

View File

@ -41,6 +41,9 @@ in {
# refs <nixpkgs/nixos/modules/services/x11/desktop-managers> # refs <nixpkgs/nixos/modules/services/x11/desktop-managers>
desktopManager.session = mkForce []; desktopManager.session = mkForce [];
displayManager.lightdm.enable = mkForce false;
displayManager.job.execCmd = mkForce "derp";
enable = true; enable = true;
display = 11; display = 11;
tty = 11; tty = 11;

View File

@ -64,7 +64,7 @@ in {
ExecStartPre = ExecStartPre =
"${pkgs.coreutils}/bin/ln -s /etc/charybdis-ircd.motd /tmp/ircd.motd"; "${pkgs.coreutils}/bin/ln -s /etc/charybdis-ircd.motd /tmp/ircd.motd";
ExecStart = toString [ ExecStart = toString [
"${pkgs.charybdis}/bin/charybdis-ircd" "${pkgs.charybdis}/bin/charybdis"
"-configfile ${import ./config.nix args}" "-configfile ${import ./config.nix args}"
"-foreground" "-foreground"
"-logfile /dev/stderr" "-logfile /dev/stderr"

View File

@ -0,0 +1 @@
self: super: {}

View File

@ -33,4 +33,16 @@ foldl' mergeAttrs {}
''; '';
gnupg = self.gnupg22; gnupg = self.gnupg22;
pass = {
"18.03" =
self.callPackage ./compat/18.03/pass {
pass-otp = self.callPackage ./compat/18.03/pass-otp {};
};
"18.09" =
super.pass.withExtensions (ext: [
ext.pass-otp
]);
}.${versions.majorMinor nixpkgsVersion};
} }

View File

@ -164,6 +164,7 @@ stdenv.mkDerivation rec {
; ;
NIX_CFLAGS_COMPILE = [ NIX_CFLAGS_COMPILE = [
"-Wno-error=deprecated-declarations"
"-Wno-error=unused-variable" "-Wno-error=unused-variable"
]; ];