tangled
alpha
login
or
join now
ptr.pet
/
clickee-proxy
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
build: add nix package
ptr.pet
6 months ago
873c889d
54c65197
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
+54
4 changed files
expand all
collapse all
unified
split
.gitignore
default.nix
flake.lock
flake.nix
+1
.gitignore
···
1
1
/target
2
2
+
result
+12
default.nix
···
1
1
+
{
2
2
+
rustPlatform,
3
3
+
...
4
4
+
}:
5
5
+
rustPlatform.buildRustPackage {
6
6
+
pname = "clickee-proxy";
7
7
+
version = "main";
8
8
+
9
9
+
src = ./.;
10
10
+
11
11
+
cargoLock.lockFile = ./Cargo.lock;
12
12
+
}
+27
flake.lock
···
1
1
+
{
2
2
+
"nodes": {
3
3
+
"nixpkgs": {
4
4
+
"locked": {
5
5
+
"lastModified": 1757873102,
6
6
+
"narHash": "sha256-kYhNxLlYyJcUouNRazBufVfBInMWMyF+44xG/xar2yE=",
7
7
+
"owner": "nixos",
8
8
+
"repo": "nixpkgs",
9
9
+
"rev": "88cef159e47c0dc56f151593e044453a39a6e547",
10
10
+
"type": "github"
11
11
+
},
12
12
+
"original": {
13
13
+
"owner": "nixos",
14
14
+
"ref": "nixpkgs-unstable",
15
15
+
"repo": "nixpkgs",
16
16
+
"type": "github"
17
17
+
}
18
18
+
},
19
19
+
"root": {
20
20
+
"inputs": {
21
21
+
"nixpkgs": "nixpkgs"
22
22
+
}
23
23
+
}
24
24
+
},
25
25
+
"root": "root",
26
26
+
"version": 7
27
27
+
}
+14
flake.nix
···
1
1
+
{
2
2
+
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
3
3
+
4
4
+
outputs = inp: let
5
5
+
l = inp.nixpkgs.lib;
6
6
+
systems = ["x86_64-linux"];
7
7
+
forPkgs = f: l.genAttrs systems (s: f inp.nixpkgs.legacyPackages.${s});
8
8
+
in {
9
9
+
packages = forPkgs (pkgs: rec {
10
10
+
clickee-proxy = pkgs.callPackage ./default.nix {};
11
11
+
default = clickee-proxy;
12
12
+
});
13
13
+
};
14
14
+
}