mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add vershell utility
This commit is contained in:
parent
d18a99a81e
commit
f41ec53ee6
4 changed files with 30 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ let
|
|||
"bootstrap"
|
||||
"t2ts"
|
||||
"ts2t"
|
||||
"vershell"
|
||||
];
|
||||
mkPackages = names: builtins.listToAttrs (map
|
||||
(name: {
|
||||
|
|
|
|||
9
pkgs/vershell/default.nix
Normal file
9
pkgs/vershell/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ writeShellApplication }:
|
||||
|
||||
writeShellApplication {
|
||||
name = "vershell";
|
||||
runtimeInputs = [ ];
|
||||
text = ''
|
||||
nix shell github:nixos/nixpkgs/"$1"#"$2";
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue