Skip to content

Instantly share code, notes, and snippets.

nix-build -E 'with import <nixpkgs> { config.allowBroken = true; }; nixos "/etc/nixos/configuration.nix"'
nix-build -E 'with import <nixpkgs> { overlays = [(_:_: { qscintilla = null; })]; }; nixos "/etc/nixos/configuration.nix"'
let
overlay = self: super: {
nixpkgs = ~/src/nixpkgs;
nixops-src = ~/src/nixops;
nixops-aws-src = ~/src/nixops-aws;
my-nixops-with-aws = self.callPackage "${self.nixops-src}/release.nix" {
nixpkgs = ~/src/nixpkgs;
p = p: [ (p.callPackage "${self.nixops-aws-src}/release.nix" {})];
};
};
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilyDependencies #-}
{-# LANGUAGE TypeApplications #-}
{-# OPTIONS_GHC -Wall #-}
diff --git a/nixos/modules/services/cluster/kubernetes/addons/dns.nix b/nixos/modules/services/cluster/kubernetes/addons/dns.nix
index 47e588de3c9..e27e01aadc1 100644
--- a/nixos/modules/services/cluster/kubernetes/addons/dns.nix
+++ b/nixos/modules/services/cluster/kubernetes/addons/dns.nix
@@ -170,7 +170,7 @@ in {
};
coredns-deploy = {
- apiVersion = "extensions/v1beta1";
+ apiVersion = "apps/v1";
git bisect start
# good: [f7bbb18f83f46b6e95663469e06ece2d2aba854c] pantheon.elementary-settings-daemon: 3.32.0 -> 3.30.2
git bisect good f7bbb18f83f46b6e95663469e06ece2d2aba854c
# bad: [46d25e912d35351ba900e8a0d5107112f6ea1fdc] gst_all_1.gst-plugins-bad: Fix gsm dependency
git bisect bad 46d25e912d35351ba900e8a0d5107112f6ea1fdc
# bad: [73e0f13bac20c7ef99391ce759ff1261425b51ca] linux_5_1: 5.1.10 -> 5.1.11
git bisect bad 73e0f13bac20c7ef99391ce759ff1261425b51ca
# good: [e0818a15305561ea1ebe36203d914465fd71453d] nixos/systemd: enable systemd-tmpfiles-setup and -clean for user sessions (#62813)
git bisect good e0818a15305561ea1ebe36203d914465fd71453d
# bad: [2ba0d81fd9f6d4d5f1e65c39c8b36f8b68f2933f] gnome3.geary: add libunity (#63161)
{ system ? builtins.currentSystem,
config ? {},
pkgs ? import <nixpkgs> { inherit system config; overlays = []; }
}:
with import (pkgs.path + /nixos/lib/testing.nix) { inherit system pkgs; };
with pkgs.lib;
let
mac1 = "6a:bb:84:02:50:c4";
{ system ? builtins.currentSystem,
config ? {},
pkgs ? import <nixpkgs> { inherit system config; overlays = []; }
}:
with import (pkgs.path + /nixos/lib/testing.nix) { inherit system pkgs; };
with pkgs.lib;
let
mac1 = "6a:bb:84:02:50:c4";
{ system ? builtins.currentSystem,
config ? {},
pkgs ? import <nixpkgs> { inherit system config; overlays = []; }
}:
with import (pkgs.path + /nixos/lib/testing.nix) { inherit system pkgs; };
with pkgs.lib;
let
mac1 = "6a:bb:84:02:50:c4";
{ pkgs ? import <nixpkgs> {} }:
let
drv = pkgs.haskellPackages.callCabal2nix "test-proj" ./. {};
shell = pkgs.haskellPackages.shellFor {
name = "test-proj-shell";
packages = p: [
drv
];
buildInputs = with pkgs; [
haskellPackages.ghcid