From 3b862d6c9bdb3137e3b35602652b893cfed86090 Mon Sep 17 00:00:00 2001 From: Jashandeep Sohi Date: Thu, 21 Dec 2023 17:38:41 -0800 Subject: [PATCH] use remote path to kpt sub flake Flakes don't really support relative paths all that well at the moment. It works if you have the store path already or if you pull a higher deverivation from the binary cache. But not when building things from scratch. So for now just use the remote Github path. --- flake.lock | 17 +++++++++++------ flake.nix | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 6b995c3..ba038cc 100644 --- a/flake.lock +++ b/flake.lock @@ -141,14 +141,19 @@ ] }, "locked": { - "lastModified": 1, - "narHash": "sha256-tl+05LnmHU/E2z6CLnQbqMZHv34Qk0GxleGlQkpxqrs=", - "path": "kpt", - "type": "path" + "dir": "kpt", + "lastModified": 1703207029, + "narHash": "sha256-uHhULnMfHa8Umd5DoZJ8LUczL5kUCKK8yaubUE+/sBo=", + "owner": "LCOGT", + "repo": "devenv-k8s", + "rev": "624540eb192f882d9c4303d7f62f07a3f901fd89", + "type": "github" }, "original": { - "path": "kpt", - "type": "path" + "dir": "kpt", + "owner": "LCOGT", + "repo": "devenv-k8s", + "type": "github" } }, "kpt_2": { diff --git a/flake.nix b/flake.nix index 97ee82e..a93ec0d 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,7 @@ mk-shell-bin.url = "github:rrbutani/nix-mk-shell-bin"; kpt = { - url = "path:kpt"; + url = "github:LCOGT/devenv-k8s?dir=kpt"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-parts.follows = "flake-parts"; };