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/private/php | |
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/private/php')
-rw-r--r-- | flakes/private/php/flake.lock | 62 | ||||
-rw-r--r-- | flakes/private/php/flake.nix | 40 |
2 files changed, 102 insertions, 0 deletions
diff --git a/flakes/private/php/flake.lock b/flakes/private/php/flake.lock new file mode 100644 index 0000000..c9af933 --- /dev/null +++ b/flakes/private/php/flake.lock | |||
@@ -0,0 +1,62 @@ | |||
1 | { | ||
2 | "nodes": { | ||
3 | "flake-utils": { | ||
4 | "locked": { | ||
5 | "lastModified": 1648297722, | ||
6 | "narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", | ||
7 | "owner": "numtide", | ||
8 | "repo": "flake-utils", | ||
9 | "rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", | ||
10 | "type": "github" | ||
11 | }, | ||
12 | "original": { | ||
13 | "owner": "numtide", | ||
14 | "repo": "flake-utils", | ||
15 | "type": "github" | ||
16 | } | ||
17 | }, | ||
18 | "nixpkgs": { | ||
19 | "flake": false, | ||
20 | "locked": { | ||
21 | "lastModified": 1596265691, | ||
22 | "narHash": "sha256-9ofCzFqttTsGrvTaS4RrDSTNQO9PFOz5uyn8V+2eA5M=", | ||
23 | "owner": "NixOS", | ||
24 | "repo": "nixpkgs", | ||
25 | "rev": "840c782d507d60aaa49aa9e3f6d0b0e780912742", | ||
26 | "type": "github" | ||
27 | }, | ||
28 | "original": { | ||
29 | "owner": "NixOS", | ||
30 | "repo": "nixpkgs", | ||
31 | "rev": "840c782d507d60aaa49aa9e3f6d0b0e780912742", | ||
32 | "type": "github" | ||
33 | } | ||
34 | }, | ||
35 | "nixpkgs-4": { | ||
36 | "flake": false, | ||
37 | "locked": { | ||
38 | "lastModified": 1646497237, | ||
39 | "narHash": "sha256-Ccpot1h/rV8MgcngDp5OrdmLTMaUTbStZTR5/sI7zW0=", | ||
40 | "owner": "NixOS", | ||
41 | "repo": "nixpkgs", | ||
42 | "rev": "062a0c5437b68f950b081bbfc8a699d57a4ee026", | ||
43 | "type": "github" | ||
44 | }, | ||
45 | "original": { | ||
46 | "owner": "NixOS", | ||
47 | "repo": "nixpkgs", | ||
48 | "rev": "062a0c5437b68f950b081bbfc8a699d57a4ee026", | ||
49 | "type": "github" | ||
50 | } | ||
51 | }, | ||
52 | "root": { | ||
53 | "inputs": { | ||
54 | "flake-utils": "flake-utils", | ||
55 | "nixpkgs": "nixpkgs", | ||
56 | "nixpkgs-4": "nixpkgs-4" | ||
57 | } | ||
58 | } | ||
59 | }, | ||
60 | "root": "root", | ||
61 | "version": 7 | ||
62 | } | ||
diff --git a/flakes/private/php/flake.nix b/flakes/private/php/flake.nix new file mode 100644 index 0000000..a730b68 --- /dev/null +++ b/flakes/private/php/flake.nix | |||
@@ -0,0 +1,40 @@ | |||
1 | { | ||
2 | description = "Php old versions"; | ||
3 | inputs.flake-utils.url = "github:numtide/flake-utils"; | ||
4 | inputs.nixpkgs = { | ||
5 | url = "github:NixOS/nixpkgs/840c782d507d60aaa49aa9e3f6d0b0e780912742"; | ||
6 | flake = false; | ||
7 | }; | ||
8 | inputs.nixpkgs-4 = { | ||
9 | url = "github:NixOS/nixpkgs/062a0c5437b68f950b081bbfc8a699d57a4ee026"; | ||
10 | flake = false; | ||
11 | }; | ||
12 | outputs = { self, nixpkgs, nixpkgs-4, flake-utils }: flake-utils.lib.eachSystem ["x86_64-linux"] (system: | ||
13 | let | ||
14 | pkgs = import nixpkgs { inherit system; overlays = []; }; | ||
15 | in rec { | ||
16 | packages = { | ||
17 | php72 = pkgs.php72; | ||
18 | php73 = pkgs.php73; | ||
19 | php74 = (import nixpkgs-4 { inherit system; overlays = []; }).php74; | ||
20 | cryptpad = (import nixpkgs-4 { inherit system; overlays = []; }).cryptpad; | ||
21 | python37 = (import nixpkgs-4 { inherit system; overlays = []; }).python37; | ||
22 | python37Packages = (import nixpkgs-4 { inherit system; overlays = []; }).python37Packages; | ||
23 | telegram-purple = (import nixpkgs-4 { inherit system; overlays = []; }).telegram-purple; | ||
24 | }; | ||
25 | defaultPackage = packages.php73; | ||
26 | legacyPackages = packages; | ||
27 | }) // rec { | ||
28 | overlays = { | ||
29 | php = final: prev: { | ||
30 | php72 = self.packages."${final.system}".php72; | ||
31 | php73 = self.packages."${final.system}".php73; | ||
32 | php74 = self.packages."${final.system}".php74; | ||
33 | cryptpad = self.packages."${final.system}".cryptpad; | ||
34 | python37 = self.packages."${final.system}".python37; | ||
35 | telegram-purple = self.packages."${final.system}".telegram-purple; | ||
36 | }; | ||
37 | }; | ||
38 | overlay = overlays.php; | ||
39 | }; | ||
40 | } | ||