Skip to content

Commit

Permalink
Applying patch for kubernetes/kubernetes#69344
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Thomsen committed Nov 15, 2018
1 parent f3f8dec commit 5ce364e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@ stdenv.mkDerivation {

# Rewrite this is a real programming language at some point
# Bash is.. Annoying
src = with pkgs; writeText "kubernixos" ''
src = with pkgs;
let
kubectl = pkgs.kubectl.overrideAttrs (oldAttrs: rec {
patches = [
(fetchpatch {
url = "https://github.com/kubernetes/kubernetes/pull/69344.patch";
sha256 = "0jhsw159d2mgybvbbn6pmvj4yqr5cwcal5fjwkcn9m4f4zlb6q1s";
})
];
});
in
writeText "kubernixos" ''
#!${stdenv.shell}
set -euo pipefail
PACKAGES="''${PACKAGES:-${path}}"
Expand Down

0 comments on commit 5ce364e

Please sign in to comment.