diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /modules/private/websites/tools/games/codenames/frontend.nix | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'modules/private/websites/tools/games/codenames/frontend.nix')
-rw-r--r-- | modules/private/websites/tools/games/codenames/frontend.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/private/websites/tools/games/codenames/frontend.nix b/modules/private/websites/tools/games/codenames/frontend.nix deleted file mode 100644 index 0f29070..0000000 --- a/modules/private/websites/tools/games/codenames/frontend.nix +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | { callPackage, runCommand, nodejs, utillinux, nodeEnv, nodePackages, elmPackages }: | ||
2 | let | ||
3 | codenamesgreen_packages = callPackage ./node-packages.nix { inherit nodeEnv; }; | ||
4 | in | ||
5 | runCommand "frontend" { | ||
6 | buildInputs = [ | ||
7 | nodejs utillinux nodePackages.parcel-bundler elmPackages.elm | ||
8 | ]; | ||
9 | } '' | ||
10 | cp -a ${codenamesgreen_packages.package}/lib/node_modules/codenamesgreen . | ||
11 | chmod -R u+w codenamesgreen | ||
12 | cd codenamesgreen | ||
13 | ${elmPackages.fetchElmDeps { | ||
14 | elmPackages = import ./elm-srcs.nix; | ||
15 | registryDat = ./registry.dat; | ||
16 | elmVersion = elmPackages.elm.version; | ||
17 | }} | ||
18 | npx parcel build src/index.html | ||
19 | cp -a dist $out | ||
20 | cp -R src/images $out | ||
21 | cp src/robots.txt $out | ||
22 | '' | ||