use eachDefaultSystem from flake-utils (since it's there already)

fortune 2022-02-02 08:44:45 +08:00
parent 1da431a1c0
commit a06f1ebb50

@ -39,9 +39,8 @@ Alternatively, you can use this sample `flake.nix`:
};
};
outputs = inputs:
outputs = inputs: inputs.flake-utils.lib.eachDefaultSystem (system:
let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
{
@ -60,6 +59,7 @@ Alternatively, you can use this sample `flake.nix`:
hardeningDisable = [ "all" ];
};
};
}
);
}
```