remove dead code with deadnix

This commit is contained in:
Noah Masur
2023-02-20 20:45:56 -05:00
parent cc84f1d37a
commit 450118d234
21 changed files with 29 additions and 29 deletions

View File

@ -1,7 +1,7 @@
{
description = "Basic project";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }:
outputs = { nixpkgs }:
let
forAllSystems = nixpkgs.lib.genAttrs [
"x86_64-linux"

View File

@ -8,7 +8,7 @@
inputs.nixpkgs.follows = "haskellNix/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils, haskellNix }:
outputs = { nixpkgs, flake-utils, haskellNix }:
flake-utils.lib.eachDefaultSystem (system:
let
overlay = self: _: {

View File

@ -5,7 +5,7 @@
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
inputs.poetry2nix.url = "github:nix-community/poetry2nix";
outputs = { self, nixpkgs, flake-utils, poetry2nix }:
outputs = { nixpkgs, flake-utils, poetry2nix }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {

View File

@ -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;
});