3.0.0 - Dependency updates, improved typesafe config, improve typing
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m44s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m44s
This commit is contained in:
14
flake.nix
14
flake.nix
@@ -3,8 +3,8 @@
|
||||
description = "A portable development environment for atridotdad with Nix Flakes";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # Pin to a specific branch or commit for stability
|
||||
flake-utils.url = "github:numtide/flake-utils"; # Helps with system boilerplate
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
@@ -22,7 +22,7 @@
|
||||
curl
|
||||
];
|
||||
|
||||
# Common libraries needed for Playwright across platforms (e.g., for WebKit/Firefox)
|
||||
# Common libraries needed for Playwright
|
||||
playwrightCommonLibs = with pkgs; [
|
||||
glib
|
||||
nss
|
||||
@@ -44,7 +44,7 @@
|
||||
gnutls
|
||||
];
|
||||
|
||||
# Linux-specific libraries for Playwright (mostly Chromium dependencies)
|
||||
# Linux-specific libraries for Playwright
|
||||
playwrightLinuxSpecificLibs = with pkgs; [
|
||||
glibc
|
||||
libgcc
|
||||
@@ -75,7 +75,7 @@
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = commonDevTools ++ (
|
||||
if isDarwin
|
||||
then playwrightCommonLibs # For macOS, Playwright will download Chromium. Provide base libs.
|
||||
then playwrightCommonLibs # For macOS, Playwright will download Chromium.
|
||||
else [ pkgs.chromium ] ++ playwrightSelfDownloadLibs # For Linux, provide Chromium and its dependencies
|
||||
);
|
||||
|
||||
@@ -112,9 +112,9 @@
|
||||
|
||||
if [ ! -d "node_modules" ]; then
|
||||
echo "📦 Installing pnpm dependencies..."
|
||||
pnpm install --frozen-lockfile # Use --frozen-lockfile for more consistent builds
|
||||
pnpm install --frozen-lockfile
|
||||
fi
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user