Skip to content

Commit

Permalink
flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Oct 1, 2024
1 parent 883a193 commit 2fdd6b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 31 deletions.
31 changes: 7 additions & 24 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
inputs = {
electron-31-nixpkgs.url = "github:nixos/nixpkgs/a04eac9c5aa7f82e02d6e9e0b203b6eb5704c141";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, ... }@inputs:
Expand All @@ -13,17 +12,15 @@
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
unstable =inputs.nixpkgs-unstable.legacyPackages.${system};
in
pkgs.mkShell {
buildInputs = [
inputs.nixpkgs-unstable.legacyPackages.${system}.nodejs_20
inputs.electron-31-nixpkgs.legacyPackages.${system}.electron
unstable.nodejs_20
pkgs.yarn
];

packages = [

];
ELECTRON_OVERRIDE_DIST_PATH = "${inputs.electron-31-nixpkgs.legacyPackages.${system}.electron}/bin/";
ELECTRON_OVERRIDE_DIST_PATH = "${unstable.electron_31}/bin/";
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
});
Expand Down

0 comments on commit 2fdd6b1

Please sign in to comment.