astro/deadnix

attribute in let block - used therein also - is deleted

573 opened this issue · 2 comments

573 commented

I. e. this block is transformed via deadnix as follows currently:

@@ -217,9 +217,6 @@
     let
       rootPath = self;
       forEachSystem = nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
-      flakeLib = import ./flake {
-        inherit inputs rootPath forEachSystem;
-      };

       formatterPackArgsFor = forEachSystem (system: {
         inherit nixpkgs system;
@@ -236,7 +233,7 @@
       });

       inherit (nixpkgs.lib) listToAttrs;
-      inherit (flakeLib) mkApp mkHome mkNixOnDroid mkNixos mkDevenvJvmLang mkDevenvDeno mkDevenvFlutter mkDevenvJupyter mkDevenvRuby mkDevenvOcaml;
+      inherit (flakeLib) mkApp mkHome mkNixOnDroid mkNixos mkDevenvJvmLang mkDevenvDeno mkDevenvFlutter mkDevenvRuby mkDevenvOcaml;
     in
     {
       homeConfigurations = listToAttrs [
astro commented

Please test

astro commented

Fixed in 1.2.0