mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 13:50:13 +00:00
remove dead code with deadnix
This commit is contained in:
@ -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"
|
||||
|
@ -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: _: {
|
||||
|
@ -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 {
|
||||
|
@ -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