nix: Drop shell.nix, only using flakes anyway

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2023-08-10 19:42:32 +02:00
parent 841362b264
commit 0d6c4d1ef4
Signed by: c8h4
GPG key ID: 9C82009BEEDEA0FF
2 changed files with 11 additions and 17 deletions

View file

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

View file

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