Remove shells

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2024-01-06 13:22:47 +03:00
parent a6bdd96a86
commit d9aae4f6cd
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C
3 changed files with 0 additions and 26 deletions

View file

@ -51,10 +51,6 @@ in {
} }
``` ```
## Shells
I "made" some shell in [shells/](./shells).
## Dotfiles development ## Dotfiles development
As I fully manage my dotfiles through home-manager and `fetchGit` they are readonly. As I fully manage my dotfiles through home-manager and `fetchGit` they are readonly.

View file

@ -1,13 +0,0 @@
# Shells
- `crossShell.nix` - Just useful shell for cross compiling
## Using
```
nix-shell PATH_TO_SHELL
```
### `crossShell.nix`
By default configured for `aarch64-unknown-linux-musl`, but target may be replaced by adding crossSystem arg, like `--argstr crossSystem "x86_64-unknown-linux-musl"`.

View file

@ -1,9 +0,0 @@
{ crossSystem ? "aarch64-unknown-linux-musl" }:
let pkgs = import <nixpkgs> { crossSystem = { config = crossSystem; }; };
in pkgs.pkgsStatic.callPackage ({ mkShell, pkg-config, zlib, file }:
mkShell {
nativeBuildInputs = [ pkg-config file ];
buildInputs = [ zlib ];
env = { CROSS_COMPILE = crossSystem; };
}) { }