aboutsummaryrefslogtreecommitdiff
path: root/front.nix
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-12 23:24:47 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-12 23:24:47 +0100
commit6b068ccd9156de8515203d0000c3a2a8ecb9c5fb (patch)
tree1bd9fd29b5fbe053bc376bf667d294460846a59e /front.nix
parent329193f0d1c8d710cb7f63e61b19e574dfdde4c4 (diff)
luax: just reluax
Diffstat (limited to 'front.nix')
-rw-r--r--front.nix20
1 files changed, 0 insertions, 20 deletions
diff --git a/front.nix b/front.nix
deleted file mode 100644
index 62fab40..0000000
--- a/front.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ pkgs ? import <nixpkgs> {} }:
- let
- nodeDependencies = (pkgs.callPackage ./front/default.nix {}).nodeDependencies;
- stdenv = pkgs.stdenv;
- nodejs = pkgs.nodejs;
- tsc = pkgs.typescript;
- in
-
- stdenv.mkDerivation {
- name = "duckonaut.dev-front";
- src = ./front;
- buildInputs = [nodejs tsc];
- buildPhase = ''
- ln -s ${nodeDependencies}/lib/node_modules ./node_modules
- export PATH="${nodeDependencies}/bin:$PATH"
-
- npm run build
- cp -r dist $out/
- '';
- }