tangled
alpha
login
or
join now
skoove.dev
/
webring-mapper
3
fork
atom
project to map out webrings
3
fork
atom
overview
issues
pulls
pipelines
init
skoove
4 months ago
83972fc6
+51
5 changed files
expand all
collapse all
unified
split
.envrc
.gitignore
Cargo.toml
flake.nix
src
main.rs
+1
.envrc
···
1
1
+
use flake
+2
.gitignore
···
1
1
+
/target
2
2
+
.direnv/
+6
Cargo.toml
···
1
1
+
[package]
2
2
+
name = "webring_mapper"
3
3
+
version = "0.1.0"
4
4
+
edition = "2024"
5
5
+
6
6
+
[dependencies]
+39
flake.nix
···
1
1
+
{
2
2
+
description = "flake for webring_mapper";
3
3
+
4
4
+
inputs = {
5
5
+
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6
6
+
7
7
+
fenix = {
8
8
+
url = "github:nix-community/fenix";
9
9
+
inputs.nixpkgs.follows = "nixpkgs";
10
10
+
};
11
11
+
};
12
12
+
13
13
+
outputs = { self, nixpkgs, fenix }:
14
14
+
let
15
15
+
system = "x86_64-linux";
16
16
+
pkgs = nixpkgs.legacyPackages.${system};
17
17
+
fe_pkgs = fenix.packages.${system};
18
18
+
19
19
+
librarys = with pkgs; [
20
20
+
];
21
21
+
in {
22
22
+
devShells.${system}.default = pkgs.mkShell {
23
23
+
buildInputs = with pkgs; [
24
24
+
(fe_pkgs.complete.withComponents [
25
25
+
"cargo"
26
26
+
"clippy"
27
27
+
"rust-src"
28
28
+
"rustc"
29
29
+
"rustfmt"
30
30
+
"rust-analyzer"
31
31
+
])
32
32
+
clang
33
33
+
pkg-config
34
34
+
] ++ librarys;
35
35
+
36
36
+
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath librarys}";
37
37
+
};
38
38
+
};
39
39
+
}
+3
src/main.rs
···
1
1
+
fn main() {
2
2
+
println!("Hello, world!");
3
3
+
}