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 /pkgs/status_engine/interface.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 'pkgs/status_engine/interface.nix')
-rw-r--r-- | pkgs/status_engine/interface.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/pkgs/status_engine/interface.nix b/pkgs/status_engine/interface.nix deleted file mode 100644 index 7ee4889..0000000 --- a/pkgs/status_engine/interface.nix +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | { stdenv, composerEnv, fetchurl, callPackage, config_file ? "/var/lib/status_engine/interface.yml" }: | ||
2 | composerEnv.buildPackage ( | ||
3 | import ./interface_php_packages.nix { inherit composerEnv fetchurl; } // rec { | ||
4 | pname = "interface"; | ||
5 | version = "3.4.0"; | ||
6 | name = "${pname}-${version}"; | ||
7 | src = fetchurl { | ||
8 | url = "https://github.com/statusengine/${pname}/archive/${version}.tar.gz"; | ||
9 | sha256 = "1l11cskv740xvqs9a2yj9zkvgvxvymaq5qap36g2r4hkqbfbbjj2"; | ||
10 | }; | ||
11 | unpackPhase = null; | ||
12 | postUnpack = '' | ||
13 | src=$(pwd)/$sourceRoot | ||
14 | ''; | ||
15 | postInstall = '' | ||
16 | ln -s ${config_file} $out/etc/config.yml | ||
17 | ''; | ||
18 | preInstall = '' | ||
19 | cp ${./interface_composer.lock} $out/composer.lock | ||
20 | ''; | ||
21 | }) | ||