Compare commits

..

No commits in common. "b36a38446ee37aa44c8ba387f0ad2a507754b7a0" and "249c46c586ffc804bc3d0b1d0e2967f01b02bc2b" have entirely different histories.

7 changed files with 15 additions and 36 deletions

View File

@ -69,7 +69,7 @@ in rec {
'';
};
vendorHash = "sha256-P1TXG0fG8/6n37LmM5ApYctqoZzJFlvFAO2Zl85SVvk=";
vendorSha256 = "sha256-P1TXG0fG8/6n37LmM5ApYctqoZzJFlvFAO2Zl85SVvk=";
subPackages = [
"./cmd/entrypoint"
@ -90,7 +90,7 @@ in rec {
inherit buildSystem;
hostSystem = "${hostPlatform.cpu.name}-unknown-${hostPlatform.kernel.name}-musl";
#pkgsSrc = pkgsNix.src;
pkgsSrc = pkgsNix.src;
};

View File

@ -8,13 +8,8 @@ rec {
rev = "76230f20282e73a5a5afa33af68152acaf732cf5";
};
# TODO compiling garage broke using 24.05, so for now use the pkgs pinned in
# the garage repo. Probably will revisit this when garage gets upgraded
# anyway.
pkgsSrc = (import "${src}/nix/common.nix").pkgsSrc;
package = {
#pkgsSrc,
pkgsSrc,
buildSystem,
hostSystem,
}: let

View File

@ -19,7 +19,7 @@
sha256 = "sha256-IsLSlQsrfw3obkz4jHL23BRQY2fviGbPEvs5j0zkdX0=";
};
vendorHash = "sha256-GvMiOEC3Y/pGG++Z+XCgLVADKymUR9shDxjx3xIz8u0=";
vendorSha256 = "sha256-GvMiOEC3Y/pGG++Z+XCgLVADKymUR9shDxjx3xIz8u0=";
subPackages = [ "cmd/nebula" "cmd/nebula-cert" ];

View File

@ -26,13 +26,13 @@ rec {
];
version = "24.05";
rev = "5646423bfac84ec68dfc60f2a322e627ef0d6a95";
version = "22.11";
rev = "ce20e9ebe1903ea2ba1ab006ec63093020c761cb";
src = fetchTarball {
name = "nixpkgs-${version}";
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
sha256 = "sha256:1lr1h35prqkd1mkmzriwlpvxcb34kmhc9dnr48gkm8hh089hifmx";
sha256 = "sha256-eFNm2h6fNbgD7ZpO4MHikCB5pSnCJ7DTmwPisjetmwc=";
};
supportedSystems = [

View File

@ -1,6 +1,6 @@
{
revision ? "dev",
releaseName ? "dev",
releaseName,
revision,
buildSystem ? builtins.currentSystem,
pkgsNix ? (import ./nix/pkgs.nix),

View File

@ -14,9 +14,14 @@ echo '*' > "$releasesDir"/.gitignore
out="$releasesDir/$releaseName"
if [ -e "$out" ]; then
echo "$out already exists, aborting"
exit 1
fi
revision=$(git rev-parse HEAD)
result=$(nix-build -v \
result=$(nix-build \
--argstr revision "$revision" \
--argstr releaseName "$releaseName" \
--no-out-link \

View File

@ -1,21 +0,0 @@
{
buildSystem ? builtins.currentSystem,
pkgsNix ? (import ./nix/pkgs.nix),
}: let
pkgs = pkgsNix.default {
inherit buildSystem;
hostSystem = buildSystem;
};
in pkgs.mkShell {
buildInputs = [
pkgs.go
pkgs.golangci-lint
];
shellHook = ''
true # placeholder
'';
}