fix: update all flake.locks
This commit is contained in:
parent
9b3f73848c
commit
f79afe59c3
10 changed files with 132 additions and 127 deletions
50
templates/svelte/flake.lock
generated
50
templates/svelte/flake.lock
generated
|
@ -1,27 +1,27 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1725930920,
|
||||
"narHash": "sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "44a71ff39c182edaf25a7ace5c9454e7cba2c658",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-24.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1733212471,
|
||||
"narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
|
|
|
@ -1,31 +1,26 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
let
|
||||
lib = nixpkgs.lib;
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
forAllSystems = f: lib.genAttrs systems (system: f { pkgs = nixpkgs.legacyPackages.${system}; });
|
||||
in
|
||||
{
|
||||
formatter = forAllSystems ({ pkgs }: pkgs.nixfmt-rfc-style);
|
||||
devShells = forAllSystems (
|
||||
{ pkgs }:
|
||||
{
|
||||
default = pkgs.callPackage ./flake/devshell.nix { };
|
||||
}
|
||||
);
|
||||
packages = forAllSystems (
|
||||
{ pkgs }:
|
||||
{
|
||||
svelte-example = pkgs.callPackage ./flake/derivation.nix { };
|
||||
}
|
||||
);
|
||||
};
|
||||
outputs = {nixpkgs, ...}: let
|
||||
lib = nixpkgs.lib;
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
forAllSystems = f: lib.genAttrs systems (system: f {pkgs = nixpkgs.legacyPackages.${system};});
|
||||
in {
|
||||
formatter = forAllSystems ({pkgs}: pkgs.nixfmt-rfc-style);
|
||||
devShells = forAllSystems (
|
||||
{pkgs}: {
|
||||
default = pkgs.callPackage ./flake/devshell.nix {};
|
||||
}
|
||||
);
|
||||
packages = forAllSystems (
|
||||
{pkgs}: {
|
||||
svelte-example = pkgs.callPackage ./flake/derivation.nix {};
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue