From 0d6c4d1ef4b184941497333174f934d7aa7c110b Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Thu, 10 Aug 2023 19:42:32 +0200 Subject: [PATCH] nix: Drop shell.nix, only using flakes anyway Signed-off-by: Christoph Heiss --- flake.nix | 12 +++++++++++- shell.nix | 16 ---------------- 2 files changed, 11 insertions(+), 17 deletions(-) delete mode 100644 shell.nix diff --git a/flake.nix b/flake.nix index 17a740e..590a4a8 100644 --- a/flake.nix +++ b/flake.nix @@ -11,5 +11,15 @@ outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; - in { devShells.default = import ./shell.nix { inherit pkgs; }; }); + in { + devShells.default = pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + deadnix + hugo + nixfmt + nodePackages.prettier + statix + ]; + }; + }); } diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 785ff1b..0000000 --- a/shell.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ pkgs ? import (fetchGit { - name = "nixos-unstable"; - url = "https://github.com/NixOS/nixpkgs"; - ref = "refs/heads/master"; - rev = "21ad1050bf67f6a31acc38d41b7999e1a0bd0ca0"; # 31-07-2023 -}) { } }: - -pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - deadnix - hugo - nixfmt - nodePackages.prettier - statix - ]; -}