ci: fix flake
Nix Docker Push Test / build-and-push (push) Failing after 47s
Nix with Cachix Action / test-nix (push) Successful in 44s

This commit is contained in:
2026-06-15 18:37:14 +09:00
parent 53e6c50ab6
commit 83526bdb32
+6 -4
View File
@@ -5,17 +5,18 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { nixpkgs, ... }:
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
# Обычный пакет
packages.${system}.default = pkgs.hello;
packages.${system} = {
# Обычный пакет (теперь внутри блока)
default = pkgs.hello;
# Docker образ
packages.${system}.dockerImage = pkgs.dockerTools.buildImage {
dockerImage = pkgs.dockerTools.buildImage {
name = "test-nix-hello";
tag = "latest";
copyToRoot = pkgs.buildEnv {
@@ -28,4 +29,5 @@
};
};
};
};
}