mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
Remove shells
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
a6bdd96a86
commit
d9aae4f6cd
3 changed files with 0 additions and 26 deletions
|
@ -51,10 +51,6 @@ in {
|
|||
}
|
||||
```
|
||||
|
||||
## Shells
|
||||
|
||||
I "made" some shell in [shells/](./shells).
|
||||
|
||||
## Dotfiles development
|
||||
|
||||
As I fully manage my dotfiles through home-manager and `fetchGit` they are readonly.
|
||||
|
|
|
@ -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"`.
|
|
@ -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; };
|
||||
}) { }
|
Loading…
Reference in a new issue