summaryrefslogtreecommitdiff
path: root/templates/full/nix/packages/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-08-24 07:49:07 -0400
committerseth <[email protected]>2023-08-24 07:49:07 -0400
commitfab63c5065d06e577dab7faec41a8365b80c48e4 (patch)
tree6ebe19664758903f0c6d2df619496c405de612cd /templates/full/nix/packages/default.nix
parentd266cbb1844959961e7aa12a9b979d8676d14e98 (diff)
templates/full: improve layout
Diffstat (limited to 'templates/full/nix/packages/default.nix')
-rw-r--r--templates/full/nix/packages/default.nix23
1 files changed, 0 insertions, 23 deletions
diff --git a/templates/full/nix/packages/default.nix b/templates/full/nix/packages/default.nix
deleted file mode 100644
index 78e10db..0000000
--- a/templates/full/nix/packages/default.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{self, ...}: let
- version = builtins.substring 0 8 self.lastModifiedDate;
-
- packageFn = pkgs: {
- hello = pkgs.callPackage ./hello.nix {inherit version;};
- };
-in {
- systems = [
- "x86_64-linux"
- "aarch64-linux"
- "x86_64-darwin"
- "aarch64-darwin"
- ];
-
- flake.overlays = final: _: packageFn final;
-
- perSystem = {pkgs, ...}: {
- packages = let
- p = packageFn pkgs;
- in
- p // {default = p.hello;};
- };
-}