-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathflake.nix
More file actions
29 lines (27 loc) · 773 Bytes
/
flake.nix
File metadata and controls
29 lines (27 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
description = "web-branch-deep-linking-attribution flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
nodejs = pkgs.nodejs_24;
in
{
devShell = pkgs.mkShell {
nativeBuildInputs = [
nodejs
];
shellHook = ''
if [ -f $HOME/.config/bin/setup-webstorm-sdk ] && [ -f ./.idea/workspace.xml ]; then
$HOME/.config/bin/setup-webstorm-sdk || echo "setup-webstorm-sdk failed"
fi
'';
};
formatter = pkgs.nixpkgs-fmt;
}
);
}