From 5fcdae15704a82032016d79272a1601f9d232365 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 14:08:26 +0200 Subject: feat(sys/secrets/lf/cd_paths): Generate with `lf-make-map` --- sys/nixpkgs/pkgs/default.nix | 2 ++ sys/nixpkgs/pkgs/lf-make-map/lf_make_map.nix | 4 +--- sys/nixpkgs/pkgs/lf-make-map/src/mapping/map_tree/display.rs | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'sys/nixpkgs') 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 } } -- cgit 1.4.1