Easily archive entire directories in whichever manner you wish.

feat(environment): Moved from dev shell to flake

Removed shell.nix in favor of flake.nix with a flake.lock.

+54 -13
+1
.envrc
··· 1 + use flake
+25
flake.lock
··· 1 + { 2 + "nodes": { 3 + "nixpkgs": { 4 + "locked": { 5 + "lastModified": 1716509168, 6 + "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=", 7 + "rev": "bfb7a882678e518398ce9a31a881538679f6f092", 8 + "revCount": 630835, 9 + "type": "tarball", 10 + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.630835%2Brev-bfb7a882678e518398ce9a31a881538679f6f092/018fafb0-ec0d-7254-8082-b09ecc86e5fc/source.tar.gz" 11 + }, 12 + "original": { 13 + "type": "tarball", 14 + "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.%2A.tar.gz" 15 + } 16 + }, 17 + "root": { 18 + "inputs": { 19 + "nixpkgs": "nixpkgs" 20 + } 21 + } 22 + }, 23 + "root": "root", 24 + "version": 7 25 + }
+28
flake.nix
··· 1 + { 2 + description = "A Nix-flake-based Shell development environment"; 3 + 4 + inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz"; 5 + 6 + outputs = { self, nixpkgs }: 7 + let 8 + supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 9 + forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f { 10 + pkgs = import nixpkgs { inherit system; }; 11 + }); 12 + in 13 + { 14 + devShells = forEachSupportedSystem ({ pkgs }: { 15 + default = pkgs.mkShell { 16 + packages = with pkgs; [ 17 + shellcheck 18 + checkbashisms 19 + gawk 20 + coreutils 21 + par2cmdline 22 + xz 23 + jq 24 + ]; 25 + }; 26 + }); 27 + }; 28 + }
-13
shell.nix
··· 1 - { pkgs ? import <nixpkgs> {}}: 2 - 3 - pkgs.mkShell { 4 - packages = with pkgs; [ 5 - coreutils-full 6 - findutils 7 - gawk 8 - gnutar 9 - jq 10 - par2cmdline 11 - xz 12 - ]; 13 - }