tangled
alpha
login
or
join now
wiro.world
/
dotfiles
2
fork
atom
yep, more dotfiles
2
fork
atom
overview
issues
1
pulls
1
pipelines
templates: remove with expressions
wiro.world
2 months ago
9493a40d
5283444d
verified
This commit was signed with the committer's
known signature
.
wiro.world
SSH Key Fingerprint:
SHA256:SmMcWpNAnL+VAgItSawvXgdPVn7f1rsyAuB/5VNclKY=
+15
-18
4 changed files
expand all
collapse all
unified
split
templates
blank
flake.nix
c
flake.nix
rust
flake.nix
rust-pkg
flake.nix
+6
-5
templates/blank/flake.nix
···
19
19
formatter = forAllPkgs (pkgs: pkgs.nixpkgs-fmt);
20
20
21
21
devShells = forAllPkgs (pkgs:
22
22
-
with pkgs.lib;
22
22
+
let
23
23
+
inherit (pkgs) lib;
24
24
+
in
23
25
{
24
26
default = pkgs.mkShell rec {
25
27
nativeBuildInputs = with pkgs; [
26
28
# hello
27
29
];
28
28
-
buildInputs = with pkgs; [
29
29
-
# openssl
30
30
-
];
30
30
+
31
31
+
buildInputs = [ ];
31
32
32
32
-
LD_LIBRARY_PATH = makeLibraryPath buildInputs;
33
33
+
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
33
34
};
34
35
});
35
36
};
+3
-3
templates/c/flake.nix
···
19
19
formatter = forAllPkgs (pkgs: pkgs.nixpkgs-fmt);
20
20
21
21
devShells = forAllPkgs (pkgs:
22
22
-
with pkgs.lib;
23
22
let
23
23
+
inherit (pkgs) lib;
24
24
mkClangShell = pkgs.mkShell.override { stdenv = pkgs.clangStdenv; };
25
25
in
26
26
{
···
29
29
clang-tools
30
30
] ++ (with llvmPackages; [ clang lldb ]);
31
31
32
32
-
buildInputs = with pkgs; [ ];
32
32
+
buildInputs = [ ];
33
33
34
34
-
LD_LIBRARY_PATH = makeLibraryPath buildInputs;
34
34
+
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
35
35
};
36
36
});
37
37
};
+3
-5
templates/rust-pkg/flake.nix
···
36
36
});
37
37
38
38
devShells = forAllPkgs (pkgs:
39
39
-
with pkgs.lib;
40
39
let
40
40
+
inherit (pkgs) lib;
41
41
file-rust-toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
42
42
rust-toolchain = file-rust-toolchain.override { extensions = [ "rust-analyzer" ]; };
43
43
in
···
49
49
act
50
50
];
51
51
52
52
-
buildInputs = with pkgs; [ ];
52
52
+
buildInputs = [ ];
53
53
54
54
RUST_SRC_PATH = pkgs.rustPlatform.rustLibSrc;
55
55
-
LD_LIBRARY_PATH = makeLibraryPath buildInputs;
56
56
-
57
57
-
# RUST_LOG = "";
55
55
+
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
58
56
};
59
57
});
60
58
};
+3
-5
templates/rust/flake.nix
···
22
22
formatter = forAllPkgs (pkgs: pkgs.nixpkgs-fmt);
23
23
24
24
devShells = forAllPkgs (pkgs:
25
25
-
with pkgs.lib;
26
25
let
26
26
+
inherit (pkgs) lib;
27
27
file-rust-toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
28
28
rust-toolchain = file-rust-toolchain.override { extensions = [ "rust-analyzer" ]; };
29
29
in
···
35
35
act
36
36
];
37
37
38
38
-
buildInputs = with pkgs; [ ];
38
38
+
buildInputs = [ ];
39
39
40
40
RUST_SRC_PATH = pkgs.rustPlatform.rustLibSrc;
41
41
-
LD_LIBRARY_PATH = makeLibraryPath buildInputs;
42
42
-
43
43
-
# RUST_LOG = "";
41
41
+
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
44
42
};
45
43
});
46
44
};