update flake (#9085)

This commit is contained in:
Jack Kavanagh
2025-09-03 14:26:49 +02:00
committed by GitHub
parent 593a05bea7
commit a08ed4240a
2 changed files with 30 additions and 22 deletions

12
flake.lock generated
View File

@@ -2,16 +2,18 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1747533086,
"narHash": "sha256-+8goyptSXa7qV0k5uPKyky58jpBjI/qkzsbwCZFvhRY=",
"lastModified": 1756754095,
"narHash": "sha256-9Rsn9XEWINExosFkKEqdp8EI6Mujr1gmQiyrEcts2ls=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8406224e30c258025cb8b31704bdb977a8f1f009",
"rev": "7c815e513adbf03c9098b2bd230c1e0525c8a7f9",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {

View File

@@ -1,24 +1,30 @@
{
outputs = { nixpkgs, ... }:
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
};
outputs =
{ nixpkgs, ... }:
let
forAllSystems = with nixpkgs.lib; f: foldAttrs mergeAttrs { }
(map (s: { ${s} = f s; }) systems.flakeExposed);
forAllSystems =
with nixpkgs.lib;
f: foldAttrs mergeAttrs { } (map (s: { ${s} = f s; }) systems.flakeExposed);
in
{
devShell = forAllSystems
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
pkgs.mkShell {
buildInputs = [
pkgs.nodejs_22
pkgs.yarn
];
devShell = forAllSystems (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
pkgs.mkShell {
buildInputs = [
pkgs.nodejs_22
pkgs.yarn
];
ELECTRON_OVERRIDE_DIST_PATH = "${pkgs.electron_35}/bin/";
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
LD_LIBRARY_PATH = nixpkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc ];
});
ELECTRON_OVERRIDE_DIST_PATH = "${pkgs.electron_37}/bin/";
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
LD_LIBRARY_PATH = nixpkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc ];
}
);
};
}