mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 06:50:13 +00:00
remove dead code with deadnix
This commit is contained in:
@ -3,14 +3,14 @@
|
||||
|
||||
inputs.mach-nix.url = "github:DavHau/mach-nix/3.5.0";
|
||||
|
||||
outputs = { self, nixpkgs, mach-nix }@inp:
|
||||
outputs = { nixpkgs, mach-nix }:
|
||||
let
|
||||
supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
forAllSystems = f:
|
||||
nixpkgs.lib.genAttrs supportedSystems
|
||||
(system: f system (import nixpkgs { inherit system; }));
|
||||
in rec {
|
||||
defaultApp = forAllSystems (system: pkgs:
|
||||
defaultApp = forAllSystems (system: _pkgs:
|
||||
mach-nix.lib."${system}".mkPython {
|
||||
requirements = builtins.readFile ./requirements.txt;
|
||||
});
|
||||
|
Reference in New Issue
Block a user