Skip to content

Commit

Permalink
Fix references on default template
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 14, 2023
1 parent 3976003 commit 715fe99
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 202 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
templates/*/flake.lock
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,10 @@
(parseVersions
(removeComments
(fileLines versionsFile)))));

templates.default = {
description = "TODO";
path = ./templates/default;
};
};
}
195 changes: 0 additions & 195 deletions templates/default/flake.lock

This file was deleted.

11 changes: 4 additions & 7 deletions templates/default/flake.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
inputs = {
# TODO: Change to GH url
asdf2nix.url = "path:../..";
# TODO: Change to GH url
asdf2nix-python.url = "path:../../plugins/python";
asdf2nix-python.url = "github:sestrella/asdf2nix?dir=plugins/python";
asdf2nix.url = "github:sestrella/asdf2nix";
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};

outputs = { self, asdf2nix, asdf2nix-python, flake-utils, nixpkgs }:
outputs = { self, asdf2nix-python, asdf2nix, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
Expand All @@ -18,12 +16,11 @@
plugins = {
python = asdf2nix-python.lib.packageFromVersion;
};
skipMissingPlugins = true;
};
in
{
devShells.default = pkgs.mkShell {
buildInputs = [ (builtins.attrValues packages) ];
buildInputs = [ packages.python ];
};
});
}

0 comments on commit 715fe99

Please sign in to comment.