Files
insomnia/flake.nix
Jack Kavanagh 3ff0d34c62 Bump-electron-33 (#8285)
* update flake

* bump node and electron versions

* bump libcurl

* package-lock

* libcurl 2.33.3

* fix types

* bump libcurl 2.33.4

* fix electron breaking change webUtils

* oops

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2025-01-10 16:44:20 +01:00

29 lines
825 B
Nix

{
inputs = {
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, ... }@inputs:
let
forAllSystems = with nixpkgs.lib; f: foldAttrs mergeAttrs { }
(map (s: { ${s} = f s; }) systems.flakeExposed);
in
{
devShell = forAllSystems
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
unstable = inputs.nixpkgs-unstable.legacyPackages.${system};
in
pkgs.mkShell {
buildInputs = [
pkgs.nodejs_20
pkgs.yarn
];
ELECTRON_OVERRIDE_DIST_PATH = "${unstable.electron_33}/bin/";
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
});
};
}