mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
flake.nix: Import shell.nix as devShell
This commit is contained in:
parent
69bec056fb
commit
7c9a7b7595
2 changed files with 5 additions and 2 deletions
|
|
@ -7,7 +7,8 @@
|
|||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
defaultPackage = pkgs.callPackage ./default.nix {};
|
||||
defaultPackage = pkgs.callPackage ./default.nix { };
|
||||
devShell = pkgs.callPackage ./shell.nix { };
|
||||
}) // {
|
||||
overlay = final: prev: {
|
||||
nix-direnv = final.callPackage ./default.nix { };
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
with import <nixpkgs> {};
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
with pkgs;
|
||||
mkShell {
|
||||
nativeBuildInputs = [
|
||||
python3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue