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 /flakes/surfer/default.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 'flakes/surfer/default.nix')
-rw-r--r-- | flakes/surfer/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/flakes/surfer/default.nix b/flakes/surfer/default.nix new file mode 100644 index 0000000..7a25199 --- /dev/null +++ b/flakes/surfer/default.nix | |||
@@ -0,0 +1,12 @@ | |||
1 | { callPackage, nodeEnv, src }: | ||
2 | # built using node2nix -l package-lock.json | ||
3 | # and changing "./." to "src" | ||
4 | (callPackage ./node-packages.nix { | ||
5 | inherit src; | ||
6 | nodeEnv = callPackage nodeEnv {}; | ||
7 | }).package.overrideAttrs(old: { | ||
8 | postInstall = '' | ||
9 | mkdir -p $out/bin | ||
10 | ln -s ../cloudron-surfer/server.js $out/lib/node_modules/.bin/surfer-server | ||
11 | ''; | ||
12 | }) | ||