From e0b5f232f6ee9d40b4af3568d25f6310c7e0d89b Mon Sep 17 00:00:00 2001 From: Anurag Ohri Date: Tue, 17 Jan 2023 15:21:32 +0530 Subject: [PATCH] Added nested private dependency --- .../default.nix | 0 dep/smithy-test-gitea-private-nested/git.json | 7 +++++++ .../thunk.nix | 0 dep/smithy-test-private-gitea/git.json | 8 -------- release.nix | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) rename dep/{smithy-test-private-gitea => smithy-test-gitea-private-nested}/default.nix (100%) create mode 100644 dep/smithy-test-gitea-private-nested/git.json rename dep/{smithy-test-private-gitea => smithy-test-gitea-private-nested}/thunk.nix (100%) delete mode 100644 dep/smithy-test-private-gitea/git.json diff --git a/dep/smithy-test-private-gitea/default.nix b/dep/smithy-test-gitea-private-nested/default.nix similarity index 100% rename from dep/smithy-test-private-gitea/default.nix rename to dep/smithy-test-gitea-private-nested/default.nix diff --git a/dep/smithy-test-gitea-private-nested/git.json b/dep/smithy-test-gitea-private-nested/git.json new file mode 100644 index 0000000..0782f73 --- /dev/null +++ b/dep/smithy-test-gitea-private-nested/git.json @@ -0,0 +1,7 @@ +{ + "url": "https://code.obsidian.systems/anuragohri92/smithy-test-gitea-private-nested.git", + "rev": "296006f208d9df36cb84aea4524a96acc84384e2", + "sha256": "0pgz4wliirpjgkq5iv4s3pp4zk4kp5dcbyf6nlg9nlpqsqkh33c0", + "private": true, + "fetchSubmodules": false +} diff --git a/dep/smithy-test-private-gitea/thunk.nix b/dep/smithy-test-gitea-private-nested/thunk.nix similarity index 100% rename from dep/smithy-test-private-gitea/thunk.nix rename to dep/smithy-test-gitea-private-nested/thunk.nix diff --git a/dep/smithy-test-private-gitea/git.json b/dep/smithy-test-private-gitea/git.json deleted file mode 100644 index 4b48b27..0000000 --- a/dep/smithy-test-private-gitea/git.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "url": "https://code.obsidian.systems/anuragohri92/smithy-test-private-gitea.git", - "rev": "7155fa4e0058de07d52f43e1c355bd3ca171535a", - "sha256": "1s3yyrcy0pdxk6qzbxgj573nw5g3mhgkfzwy3ap1a5lpjlknf5cc", - "private": true, - "fetchSubmodules": false, - "branch": "main" -} diff --git a/release.nix b/release.nix index c318b0b..0bc3f9e 100644 --- a/release.nix +++ b/release.nix @@ -1,7 +1,7 @@ with (import {}); let nt = import ./dep/nix-thunk {}; - pvt = import (nt.thunkSource ./dep/smithy-test-private-gitea); + pvt = import (nt.thunkSource ./dep/smithy-test-gitea-private-nested); in derivation { inherit gcc coreutils; name = "myhello-0.0.1";