From d6449ffa63a41e1818b4db77b582f56d5aefe61c Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 25 Apr 2017 15:23:09 +0200 Subject: [PATCH 1/5] tv nixpkgs: 67c6638 -> 99dfb6d --- tv/2configs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index fd8bafe05..d16ff4eb5 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -14,7 +14,7 @@ with import ; stockholm.file = "/home/tv/stockholm"; nixpkgs.git = { url = https://github.com/NixOS/nixpkgs; - ref = "67c6638b089a5766435e07057ff73b35c82440cc"; # nixos-17.03 + ref = "99dfb6dce37edcd1db7cb85c2db97089d9d5f442"; # nixos-17.03 }; } // optionalAttrs host.secure { secrets-master.file = "/home/tv/secrets/master"; From 5cee2f8c89c537cbba0f1a53e3a21aa9836ba13b Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 27 Apr 2017 19:33:44 +0200 Subject: [PATCH 2/5] xu: add cgit alias --- krebs/3modules/tv/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/krebs/3modules/tv/default.nix b/krebs/3modules/tv/default.nix index 2da38e08d..e387fabc5 100644 --- a/krebs/3modules/tv/default.nix +++ b/krebs/3modules/tv/default.nix @@ -358,6 +358,7 @@ with import ; ip6.addr = "42::1338"; aliases = [ "xu.r" + "cgit.xu.r" ]; tinc.pubkey = '' -----BEGIN RSA PUBLIC KEY----- From f374b704b0e6a9900633af58e5e6def644a916a5 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 27 Apr 2017 19:43:12 +0200 Subject: [PATCH 3/5] types.user.mail: str -> nullOr str --- lib/types.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/types.nix b/lib/types.nix index f511541bd..30de5e177 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -284,8 +284,8 @@ rec { default = "/home/${config.name}"; }; mail = mkOption { - type = str; # TODO retiolum mail address - default = "${config._module.args.name}@${config.networking.hostName}.r"; + type = nullOr str; + default = null; }; name = mkOption { type = username; From 7fb107a30384bbdf3693dd5d709ec534187d4e9d Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 27 Apr 2017 21:40:48 +0200 Subject: [PATCH 4/5] xu: +texlive.combined.scheme-full --- tv/1systems/xu.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tv/1systems/xu.nix b/tv/1systems/xu.nix index 8cf6146b5..60d1af23e 100644 --- a/tv/1systems/xu.nix +++ b/tv/1systems/xu.nix @@ -43,7 +43,7 @@ with import ; pass q qrencode - #texLive + texlive.combined.scheme-full tmux #ack From ca2c22601fcfc0e618bb3cc73fb6c67ac03087ea Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 30 Apr 2017 14:42:15 +0200 Subject: [PATCH 5/5] much: 1.0.0 -> 1.1.0 --- krebs/5pkgs/much/cabal.nix | 28 ++++++++++++++++++++++++++++ krebs/5pkgs/much/default.nix | 31 ++----------------------------- 2 files changed, 30 insertions(+), 29 deletions(-) create mode 100644 krebs/5pkgs/much/cabal.nix diff --git a/krebs/5pkgs/much/cabal.nix b/krebs/5pkgs/much/cabal.nix new file mode 100644 index 000000000..09bc7b5df --- /dev/null +++ b/krebs/5pkgs/much/cabal.nix @@ -0,0 +1,28 @@ +{ mkDerivation, aeson, attoparsec, base, base64-bytestring +, blaze-builder, blessings, bytestring, case-insensitive +, containers, deepseq, directory, docopt, email-header, fetchgit +, filepath, friendly-time, hyphenation, linebreak, old-locale +, process, random, rosezipper, safe, scanner, split, stdenv +, terminal-size, text, time, transformers, transformers-compat +, unix, vector +}: +mkDerivation { + pname = "much"; + version = "1.1.0"; + src = fetchgit { + url = "http://cgit.ni.krebsco.de/much"; + sha256 = "1325554zymr1dd0clj8c5ygl70c791csvs0hz33jcfr6b8wysdrl"; + rev = "dfec37d848e11c00d9b7f03295af1fc7b0e83ef5"; + }; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + aeson attoparsec base base64-bytestring blaze-builder blessings + bytestring case-insensitive containers deepseq directory docopt + email-header filepath friendly-time hyphenation linebreak + old-locale process random rosezipper safe scanner split + terminal-size text time transformers transformers-compat unix + vector + ]; + license = stdenv.lib.licenses.mit; +} diff --git a/krebs/5pkgs/much/default.nix b/krebs/5pkgs/much/default.nix index aa3c56fe0..cf55eb537 100644 --- a/krebs/5pkgs/much/default.nix +++ b/krebs/5pkgs/much/default.nix @@ -1,30 +1,3 @@ -{ pkgs, ... }: +{ haskellPackages, ... }: -pkgs.haskellPackages.callPackage ( -{ mkDerivation, aeson, attoparsec, base, base64-bytestring -, blaze-builder, blessings, bytestring, case-insensitive, containers, deepseq -, directory, docopt, email-header, fetchgit, filepath -, friendly-time, hyphenation, linebreak, old-locale, process -, random, rosezipper, safe, scanner, split, stdenv, terminal-size, text -, time, transformers, transformers-compat, unix, vector -}: -mkDerivation { - pname = "much"; - version = "1.0.0"; - src = fetchgit { - url = "http://cgit.ni.krebsco.de/much"; - rev = "045dc986b4de225a927175f81c8ccfdab450202c"; - sha256 = "17jbw7x82a3bgn1qv5k764f103knrf865dmx48h7192vdh8gz766"; - }; - isLibrary = false; - isExecutable = true; - buildDepends = [ - aeson attoparsec base base64-bytestring blaze-builder blessings bytestring - case-insensitive containers deepseq directory docopt email-header filepath - friendly-time hyphenation linebreak old-locale process random rosezipper - safe scanner split terminal-size text time transformers transformers-compat - unix vector - ]; - license = stdenv.lib.licenses.mit; -} -) {} +haskellPackages.callPackage ./cabal.nix {}