diff --git a/source/recipes/devshell/non-flake/flake.nix b/source/recipes/devshell/non-flake/flake.nix new file mode 100644 index 0000000..560bc6e --- /dev/null +++ b/source/recipes/devshell/non-flake/flake.nix @@ -0,0 +1,27 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs"; + flake-utils.url = "github:numtide/flake-utils"; + hello-nix = { + url = "git+https://codeberg.org/mhwombat/hello-nix"; + flake = false; + }; + }; + + outputs = { self, nixpkgs, flake-utils, hello-nix }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { inherit system; }; + in + { + devShells = rec { + default = pkgs.mkShell { + shellHook = + '' + PATH=${hello-nix}:$PATH + ''; + }; + }; + } + ); +}