clan-template: drop unused dependencies

This commit is contained in:
Jörg Thalheim 2023-07-26 11:31:33 +02:00
parent d516b449e8
commit 6de0fb7775
3 changed files with 2 additions and 24 deletions

View File

@ -1,16 +0,0 @@
# This file provides backward compatibility to nix < 2.4 clients
let
flake =
import
(
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{ src = ./.; };
in
flake.defaultNix

View File

@ -1,13 +1,9 @@
{
description = "";
description = "<Put your description here>";
inputs = {
clan-core.url = "git+https://git.clan.lol/clan/clan-core";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = inputs @ { flake-parts, ... }:

View File

@ -1,2 +0,0 @@
(import ./default.nix).devShells.${builtins.currentSystem}.default
or (throw "dev-shell not defined. Cannot find flake attribute devShell.${builtins.currentSystem}.default")