update flake correctly
Some checks failed
Build and Publish / build-release (push) Failing after 7m6s

This commit is contained in:
2026-04-01 10:33:53 -05:00
parent 3847fcb03e
commit 455d61e30b
2 changed files with 9 additions and 23 deletions

View File

@@ -3,15 +3,14 @@
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, nixpkgs-unstable, flake-utils }:
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
unstable = nixpkgs-unstable.legacyPackages.${system};
pkgs = nixpkgs.legacyPackages.${system};
package = unstable.buildGoModule {
package = pkgs.buildGoModule {
pname = "zitadel-resources-operator";
version = "0.0.0";
src = ../src;
@@ -45,8 +44,7 @@
in with pkgs; {
packages.default = package;
packages.dockerImage = dockerPackage;
devShells.default = mkShell {
buildInputs = [ nixfmt unstable.gopls operator-sdk unstable.go ];
};
devShells.default =
mkShell { buildInputs = [ nixfmt gopls operator-sdk go ]; };
});
}