diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-12 20:31:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 20:31:26 +0900 |
commit | 75fd35e2ab183278253248fd06e9d870ce21777a (patch) | |
tree | 0dbd61ecb29f713ab660c3fd2cbcd298e3af010f | |
parent | f73611de12c0fb6ccf9e361e48abd7de6e63b4e8 (diff) | |
parent | 42449228f00d688dbbc7b1c30900257b43780a2f (diff) |
Merge pull request #88 from themoeway/nix-support
Make it easy to build project on Nix package manager / NixOS
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | shell.nix | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -1,2 +1,2 @@ -#!/bin/bash +#!/bin/sh npm run-script build -- "$@" diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..9001ef77 --- /dev/null +++ b/shell.nix @@ -0,0 +1,4 @@ +{ pkgs ? import <nixpkgs> { } }: +pkgs.mkShell { + nativeBuildInputs = [ pkgs.nodejs ]; +} |