fix: update all flake.locks

This commit is contained in:
Artur Manuel 2024-12-04 17:35:06 +00:00
commit f79afe59c3
10 changed files with 132 additions and 127 deletions

View file

@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1723400035,
"narHash": "sha256-WoKZDlBEdMhP+hjquBAh0BhUJbcH2+U8g2mHOr1mv8I=",
"lastModified": 1733212471,
"narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a731b45590a5169542990c36ffcde6cebd9a3356",
"rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "release-24.05",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -2,28 +2,37 @@
description = "Go flake template";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
outputs = {
self,
nixpkgs,
}: let
allSystems = [
"x86_64-linux"
"aarch64-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs allSystems (system: f {
pkgs = import nixpkgs { inherit system; };
inherit system;
});
in
{
packages = forAllSystems ({ pkgs, system }: {
default = pkgs.callPackage ./nix/package.nix { };
forAllSystems = f:
nixpkgs.lib.genAttrs allSystems (system:
f {
pkgs = import nixpkgs {inherit system;};
inherit system;
});
in {
packages = forAllSystems ({
pkgs,
system,
}: {
default = pkgs.callPackage ./nix/package.nix {};
go-app = self.packages.${system}.default;
});
devShells = forAllSystems ({ pkgs, system }: {
default = pkgs.callPackage ./nix/shell.nix { inherit (self.packages.${system}) go-app; };
devShells = forAllSystems ({
pkgs,
system,
}: {
default = pkgs.callPackage ./nix/shell.nix {inherit (self.packages.${system}) go-app;};
});
};
}

View file

@ -1,3 +1,3 @@
module codeberg.org/amadaimbra/flake-template-hell
module codeberg.org/amadaluzia/go-app
go 1.22.5