summaryrefslogtreecommitdiff
path: root/templates/full
diff options
context:
space:
mode:
Diffstat (limited to 'templates/full')
-rw-r--r--templates/full/default.nix9
-rw-r--r--templates/full/flake.nix30
-rw-r--r--templates/full/nix/default.nix12
-rw-r--r--templates/full/nix/derivation.nix1
-rw-r--r--templates/full/nix/packages.nix14
-rw-r--r--templates/full/nix/shell.nix13
6 files changed, 0 insertions, 79 deletions
diff --git a/templates/full/default.nix b/templates/full/default.nix
deleted file mode 100644
index 6466507..0000000
--- a/templates/full/default.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-(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 = ./.; }).defaultNix
diff --git a/templates/full/flake.nix b/templates/full/flake.nix
deleted file mode 100644
index b35fa45..0000000
--- a/templates/full/flake.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- description = "";
-
- inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
-
- flake-parts = {
- url = "github:hercules-ci/flake-parts";
- inputs.nixpkgs-lib.follows = "nixpkgs";
- };
-
- flake-compat = {
- url = "github:edolstra/flake-compat";
- flake = false;
- };
- };
-
- outputs =
- inputs:
- inputs.flake-parts.lib.mkFlake { inherit inputs; } {
- imports = [ ./nix ];
-
- systems = [
- "x86_64-linux"
- "aarch64-linux"
- "x86_64-darwin"
- "aarch64-darwin"
- ];
- };
-}
diff --git a/templates/full/nix/default.nix b/templates/full/nix/default.nix
deleted file mode 100644
index 87d9d60..0000000
--- a/templates/full/nix/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- imports = [
- ./shell.nix
- ./packages.nix
- ];
-
- perSystem =
- { pkgs, ... }:
- {
- formatter = pkgs.nixfmt-rfc-style;
- };
-}
diff --git a/templates/full/nix/derivation.nix b/templates/full/nix/derivation.nix
deleted file mode 100644
index ac18240..0000000
--- a/templates/full/nix/derivation.nix
+++ /dev/null
@@ -1 +0,0 @@
-{ hello }: hello
diff --git a/templates/full/nix/packages.nix b/templates/full/nix/packages.nix
deleted file mode 100644
index 8774a3b..0000000
--- a/templates/full/nix/packages.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ self, ... }:
-{
- perSystem =
- { pkgs, self', ... }:
- {
- package = {
- hello = pkgs.callPackage ./derivation.nix {
- version = self.shortRev or self.dirtyShortRev or "unknown";
- };
-
- default = self'.packages.hello;
- };
- };
-}
diff --git a/templates/full/nix/shell.nix b/templates/full/nix/shell.nix
deleted file mode 100644
index 680c875..0000000
--- a/templates/full/nix/shell.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- perSystem =
- { pkgs, self', ... }:
- {
- devShells = {
- default = pkgs.mkShell {
- packages = [ self'.formatter ];
-
- inputsFrom = [ self'.packages.hello ];
- };
- };
- };
-}