From d9aae4f6cdc20f4929ba979d124117e42e0c8b36 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Sat, 6 Jan 2024 13:22:47 +0300 Subject: [PATCH] Remove shells Signed-off-by: Ivan Bushchik --- README.md | 4 ---- shells/README.md | 13 ------------- shells/crossShell.nix | 9 --------- 3 files changed, 26 deletions(-) delete mode 100644 shells/README.md delete mode 100644 shells/crossShell.nix 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; }; - }) { }