mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-12 06:10:07 +01:00
chore: update rensa and use improved input handling
This commit is contained in:
parent
fbacfc149b
commit
e76bef387e
7 changed files with 70 additions and 33 deletions
|
|
@ -1,13 +1,10 @@
|
|||
{
|
||||
inputs,
|
||||
cell,
|
||||
}: let
|
||||
devshell = import "${inputs.self}/lib" {
|
||||
pkgs = inputs.nixpkgs;
|
||||
};
|
||||
{inputs, ...}: let
|
||||
inherit (inputs) pkgs devshell;
|
||||
in {
|
||||
default = devshell.mkShell {
|
||||
packages = [inputs.nixpkgs.alejandra];
|
||||
packages = [
|
||||
pkgs.alejandra
|
||||
];
|
||||
env."HELLO".value = "world!";
|
||||
enterShellCommands.test = {
|
||||
text = "echo Hello $HELLO";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue