Initial commit
This commit is contained in:
20
simple-shell/README.md
Normal file
20
simple-shell/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# shell
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
> nix-shell shell.nix --command "cowsay hey"
|
||||
_____
|
||||
< hey >
|
||||
-----
|
||||
\ ^__^
|
||||
\ (oo)\_______
|
||||
(__)\ )\/\
|
||||
||----w |
|
||||
|| ||
|
||||
|
||||
> nix-shell shell2.nix --command "nvim --version"
|
||||
NVIM v0.9.5
|
||||
Build type: Release
|
||||
LuaJIT 2.1.1693350652
|
||||
```
|
7
simple-shell/shell.nix
Normal file
7
simple-shell/shell.nix
Normal file
@ -0,0 +1,7 @@
|
||||
with
|
||||
import <nixpkgs> {};
|
||||
mkShell {
|
||||
packages = [
|
||||
cowsay
|
||||
];
|
||||
}
|
9
simple-shell/shell2.nix
Normal file
9
simple-shell/shell2.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
with pkgs;
|
||||
mkShell
|
||||
{
|
||||
packages = [
|
||||
neovim
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user