From 8f0842341aa9cbaf6d6f08ee916581f049e8e48a Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Fri, 10 Mar 2023 20:52:06 +0100 Subject: [PATCH] ops: repin edge01.waw to old nixpkgs We accidentally bumped nixpkgs at https://gerrit.hackerspace.pl/1441 and forgot to upgrade it. We don't wanna upgrade it right now. This doesn't give us back a zero-diff, but it's close enough. Change-Id: I1a9f50df88e564cd4de76f67adfaa1e88a746f2e Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1471 Reviewed-by: patryk --- ops/machines.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ops/machines.nix b/ops/machines.nix index 5f9307be..be780a58 100644 --- a/ops/machines.nix +++ b/ops/machines.nix @@ -21,6 +21,15 @@ let sha256 = "1b61nzvy0d46cspy07szkc0rggacxiqg9v1py27pkqpj7rvawfsk"; }) { }; + # TODO(patryk): unpin and upgrade + nixpkgsBgpwtf = import (pkgs.fetchFromGitHub { + owner = "nixos"; + repo = "nixpkgs-channels"; + rev = "e26c0ffdb013cd378fc2528a44689a8bf35d2a6c"; + sha256 = "1b33hw35fqb9rzszdg5jpiyfvhx2cxpv0qrkyr19zkdpdahzdbss"; + }) { }; + + # mkMachine builds NixOS modules into a NixOS derivation. # It: # 1) injects passthru.hscloud.provision which deploys that configuration @@ -113,7 +122,7 @@ let "dcr01s22.hswaw.net" = mkClusterMachine self ../cluster/machines/dcr01s22.hswaw.net.nix; "dcr01s24.hswaw.net" = mkClusterMachine self ../cluster/machines/dcr01s24.hswaw.net.nix; - "edge01.waw.bgp.wtf" = mkMachine self pkgs [ + "edge01.waw.bgp.wtf" = mkMachine self nixpkgsBgpwtf [ ../bgpwtf/machines/edge01.waw.bgp.wtf.nix ../bgpwtf/machines/edge01.waw.bgp.wtf-hardware.nix ];