diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 14:08:26 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 20:33:34 +0200 |
commit | 5fcdae15704a82032016d79272a1601f9d232365 (patch) | |
tree | b16dc9c5135d86b3b3f75282a11345043f1d0629 /sys/nixpkgs | |
parent | feat(pkgs/lf-make-map): Add de-serialization to lf mappings (diff) | |
download | nixos-config-5fcdae15704a82032016d79272a1601f9d232365.tar.gz nixos-config-5fcdae15704a82032016d79272a1601f9d232365.zip |
feat(sys/secrets/lf/cd_paths): Generate with `lf-make-map`
Diffstat (limited to 'sys/nixpkgs')
-rw-r--r-- | sys/nixpkgs/pkgs/default.nix | 2 | ||||
-rw-r--r-- | sys/nixpkgs/pkgs/lf-make-map/lf_make_map.nix | 4 | ||||
-rw-r--r-- | sys/nixpkgs/pkgs/lf-make-map/src/mapping/map_tree/display.rs | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/sys/nixpkgs/pkgs/default.nix b/sys/nixpkgs/pkgs/default.nix index e8630bb0..633d2f7e 100644 --- a/sys/nixpkgs/pkgs/default.nix +++ b/sys/nixpkgs/pkgs/default.nix @@ -4,6 +4,7 @@ }: let comments = import ./comments; generate_firefox_extensions = import ./generate_moz_extension; + lf_make_map = import ./lf-make-map; nvim_plugs = import ./plgs-pkgs; scripts = import ./scripts {inherit sysLib config;}; snap-sync-forked = (import ./snap-sync-forked) {inherit sysLib;}; @@ -14,6 +15,7 @@ overlays = comments ++ generate_firefox_extensions + ++ lf_make_map ++ nvim_plugs ++ scripts ++ snap-sync-forked diff --git a/sys/nixpkgs/pkgs/lf-make-map/lf_make_map.nix b/sys/nixpkgs/pkgs/lf-make-map/lf_make_map.nix index 08fc6bb5..afb067b8 100644 --- a/sys/nixpkgs/pkgs/lf-make-map/lf_make_map.nix +++ b/sys/nixpkgs/pkgs/lf-make-map/lf_make_map.nix @@ -1,6 +1,4 @@ -{ - rustPlatform, -}: +{rustPlatform}: rustPlatform.buildRustPackage { pname = "lf-make-map"; version = "0.1.0"; diff --git a/sys/nixpkgs/pkgs/lf-make-map/src/mapping/map_tree/display.rs b/sys/nixpkgs/pkgs/lf-make-map/src/mapping/map_tree/display.rs index 778ade95..65302e1e 100644 --- a/sys/nixpkgs/pkgs/lf-make-map/src/mapping/map_tree/display.rs +++ b/sys/nixpkgs/pkgs/lf-make-map/src/mapping/map_tree/display.rs @@ -73,7 +73,10 @@ impl Display for MappingTree { counter += 1; } } - NodeValue::Child { path: _, extandable: _ } => { + NodeValue::Child { + path: _, + extandable: _, + } => { // Do nothing and stop the recursion } } |