diff --git a/README.md b/README.md index 0a7e7da..17a8c92 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/shells/README.md b/shells/README.md deleted file mode 100644 index 24c2a85..0000000 --- a/shells/README.md +++ /dev/null @@ -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"`. diff --git a/shells/crossShell.nix b/shells/crossShell.nix deleted file mode 100644 index 1828eb0..0000000 --- a/shells/crossShell.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ crossSystem ? "aarch64-unknown-linux-musl" }: - -let pkgs = import { crossSystem = { config = crossSystem; }; }; -in pkgs.pkgsStatic.callPackage ({ mkShell, pkg-config, zlib, file }: - mkShell { - nativeBuildInputs = [ pkg-config file ]; - buildInputs = [ zlib ]; - env = { CROSS_COMPILE = crossSystem; }; - }) { }