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,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1724479785, "lastModified": 1733212471,
"narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=", "narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be", "rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -18,16 +18,16 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1723637854, "lastModified": 1731890469,
"narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", "narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", "rev": "5083ec887760adfe12af64830a66807423a859a7",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixpkgs-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -43,11 +43,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1724338379, "lastModified": 1733222881,
"narHash": "sha256-kKJtaiU5Ou+e/0Qs7SICXF22DLx4V/WhG1P6+k4yeOE=", "narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "070f834771efa715f3e74cd8ab93ecc96fabc951", "rev": "49717b5af6f80172275d47a418c9719a31a78b53",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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

View file

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

View file

@ -2,32 +2,32 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1725407940, "lastModified": 1733212471,
"narHash": "sha256-tiN5Rlg/jiY0tyky+soJZoRzLKbPyIdlQ77xVgREDNM=", "narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6f6c45b5134a8ee2e465164811e451dcb5ad86e3", "rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.05", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1725103162, "lastModified": 1731890469,
"narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=", "narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b", "rev": "5083ec887760adfe12af64830a66807423a859a7",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixpkgs-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -43,11 +43,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1725271838, "lastModified": 1733222881,
"narHash": "sha256-VcqxWT0O/gMaeWTTjf1r4MOyG49NaNxW4GHTO3xuThE=", "narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "9fb342d14b69aefdf46187f6bb80a4a0d97007cd", "rev": "49717b5af6f80172275d47a418c9719a31a78b53",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,33 +1,29 @@
{ {
description = "Cool Haskell Project with an unknown purpose"; description = "Haskell Project Template";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
treefmt.url = "github:numtide/treefmt-nix"; treefmt.url = "github:numtide/treefmt-nix";
}; };
outputs = outputs = inputs @ {nixpkgs, ...}: let
inputs@{ nixpkgs, ... }: inherit (nixpkgs) lib;
let systems = ["x86_64-linux"];
lib = nixpkgs.lib; forAllSystems = f:
systems = [ "x86_64-linux" ]; lib.genAttrs systems (
forAllSystems = system:
f:
lib.genAttrs systems (
system:
f { f {
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
}; };
} }
); );
treefmtEval = forAllSystems ({ pkgs }: inputs.treefmt.lib.evalModule pkgs ./flake/treefmt.nix); treefmtEval = forAllSystems ({pkgs}: inputs.treefmt.lib.evalModule pkgs ./flake/treefmt.nix);
in in {
{ packages = forAllSystems ({pkgs}: {
packages = forAllSystems ({ pkgs }: { default = pkgs.callPackage ./flake/package.nix {};
cool-haskell-project = pkgs.callPackage ./flake/package.nix {}; });
}); devShells = forAllSystems ({pkgs}: {
devShells = forAllSystems ({ pkgs }: { default = pkgs.callPackage ./flake/shell.nix {};
default = pkgs.callPackage ./flake/shell.nix {}; });
}); formatter = forAllSystems ({pkgs}: treefmtEval.${pkgs.system}.config.build.wrapper);
formatter = forAllSystems ({ pkgs }: treefmtEval.${pkgs.system}.config.build.wrapper); };
};
} }

View file

@ -2,26 +2,27 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1723673859, "lastModified": 1733212471,
"narHash": "sha256-FLYl6raDlRSUf6o3DkbCg/KkOUBGHcyNKZ0RlzoSLcA=", "narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c55e2908deb848d0e94d8170cb4b0a1e9bc30c8c", "rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1718428119, "lastModified": 1728538411,
"narHash": "sha256-WdWDpNaq6u1IPtxtYHHWpl5BmabtpmLnMAx0RdJ/vo8=", "narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e6cea36f83499eb4e9cd184c8a8e823296b50ad5", "rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -42,11 +43,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1723602049, "lastModified": 1733279627,
"narHash": "sha256-Z/noCSn9WPkv7O77dWKLcBxe4Ub4bWyNzsL5JhjaQfw=", "narHash": "sha256-NCNDAGPkdFdu+DLErbmNbavmVW9AwkgP7azROFFSB0U=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "ea0bf33a11a26a62c60123c49d96011da396602c", "rev": "4da5a80ef76039e80468c902f1e9f5c0eab87d96",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,10 +1,14 @@
{ {
description = "Rust Developer Environment"; description = "Rust Developer Environment";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rust.url = "github:oxalica/rust-overlay"; rust.url = "github:oxalica/rust-overlay";
}; };
outputs = { self, nixpkgs, rust }: let outputs = {
self,
nixpkgs,
rust,
}: let
systems = [ systems = [
"x86_64-linux" "x86_64-linux"
"aarch64-linux" "aarch64-linux"
@ -15,12 +19,12 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [ overlays = [
(import rust) (import rust)
]; ];
}; };
inherit system; inherit system;
in { in {
rust-app = pkgs.callPackage ./nix/package.nix { }; rust-app = pkgs.callPackage ./nix/package.nix {};
default = self.packages.${system}.rust-app; default = self.packages.${system}.rust-app;
}); });
@ -28,7 +32,7 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [ overlays = [
(import rust) (import rust)
]; ];
}; };
inherit system; inherit system;

View file

@ -1,27 +1,27 @@
{ {
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1725930920, "lastModified": 1733212471,
"narHash": "sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM=", "narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "44a71ff39c182edaf25a7ace5c9454e7cba2c658", "rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.05", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"root": { "root": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
} }
}, },
"root": "root", "root": "root",
"version": 7 "version": 7
} }

View file

@ -1,31 +1,26 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };
outputs = outputs = {nixpkgs, ...}: let
{ nixpkgs, ... }: lib = nixpkgs.lib;
let systems = [
lib = nixpkgs.lib; "x86_64-linux"
systems = [ "aarch64-linux"
"x86_64-linux" ];
"aarch64-linux" forAllSystems = f: lib.genAttrs systems (system: f {pkgs = nixpkgs.legacyPackages.${system};});
]; in {
forAllSystems = f: lib.genAttrs systems (system: f { pkgs = nixpkgs.legacyPackages.${system}; }); formatter = forAllSystems ({pkgs}: pkgs.nixfmt-rfc-style);
in devShells = forAllSystems (
{ {pkgs}: {
formatter = forAllSystems ({ pkgs }: pkgs.nixfmt-rfc-style); default = pkgs.callPackage ./flake/devshell.nix {};
devShells = forAllSystems ( }
{ pkgs }: );
{ packages = forAllSystems (
default = pkgs.callPackage ./flake/devshell.nix { }; {pkgs}: {
} svelte-example = pkgs.callPackage ./flake/derivation.nix {};
); }
packages = forAllSystems ( );
{ pkgs }: };
{
svelte-example = pkgs.callPackage ./flake/derivation.nix { };
}
);
};
} }