IFD-embracing Nix expression to import pnpm lock files in Nix derivations

chore: add REUSE

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

+64 -2
+5
.envrc.example
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + use flake
+6
.gitignore
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + .envrc 6 + .direnv/
+18
LICENSES/MIT.txt
··· 1 + MIT License 2 + 3 + Copyright (c) <year> <copyright holders> 4 + 5 + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 6 + associated documentation files (the "Software"), to deal in the Software without restriction, including 7 + without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 + copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the 9 + following conditions: 10 + 11 + The above copyright notice and this permission notice shall be included in all copies or substantial 12 + portions of the Software. 13 + 14 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 15 + LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO 16 + EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17 + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 18 + USE OR OTHER DEALINGS IN THE SOFTWARE.
+5
checks/vencord.nix
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # SPDX-FileCopyrightText: 2023-2026 nixpkgs Contributors 3 + # 4 + # SPDX-License-Identifier: MIT 5 + 1 6 { 2 7 fetchFromGitHub, 3 8 git,
+4
config-hook.sh
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 1 5 # shellcheck shell=bash 2 6 3 7 iplConfigHook() {
+4
default.nix
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 1 5 { 2 6 pkgs ? import <nixpkgs> { }, 3 7 }:
+3
flake.lock.license
··· 1 + SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + 3 + SPDX-License-Identifier: MIT
+11 -2
flake.nix
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 1 5 { 2 6 description = "A very basic flake"; 3 7 ··· 26 30 ); 27 31 in 28 32 { 29 - legacyPackages = forSystems ({ pkgs, ... }: import ./. { inherit pkgs; }); 33 + formatter = forSystems ({ pkgs, ... }: pkgs.nixfmt-tree); 34 + devShells = forSystems ({pkgs, ...}: { 35 + default = pkgs.mkShell { 36 + packages = with pkgs; [reuse]; 37 + }; 38 + }); 30 39 31 - formatter = forSystems ({ pkgs, ... }: pkgs.nixfmt-tree); 40 + legacyPackages = forSystems ({ pkgs, ... }: import ./. { inherit pkgs; }); 32 41 33 42 checks = forSystems ( 34 43 { pkgs, ourPackages, ... }:
+4
importPnpmLock.nix
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 1 5 { 2 6 lib, 3 7 runCommand,
+4
iplConfigHook.nix
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 1 5 { 2 6 makeSetupHook, 3 7 stdenvNoCC,