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 { 2 fetchFromGitHub, 3 git,
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # SPDX-FileCopyrightText: 2023-2026 nixpkgs Contributors 3 + # 4 + # SPDX-License-Identifier: MIT 5 + 6 { 7 fetchFromGitHub, 8 git,
+4
config-hook.sh
··· 1 # shellcheck shell=bash 2 3 iplConfigHook() {
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 # shellcheck shell=bash 6 7 iplConfigHook() {
+4
default.nix
··· 1 { 2 pkgs ? import <nixpkgs> { }, 3 }:
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 { 6 pkgs ? import <nixpkgs> { }, 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 { 2 description = "A very basic flake"; 3 ··· 26 ); 27 in 28 { 29 - legacyPackages = forSystems ({ pkgs, ... }: import ./. { inherit pkgs; }); 30 31 - formatter = forSystems ({ pkgs, ... }: pkgs.nixfmt-tree); 32 33 checks = forSystems ( 34 { pkgs, ourPackages, ... }:
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 { 6 description = "A very basic flake"; 7 ··· 30 ); 31 in 32 { 33 + formatter = forSystems ({ pkgs, ... }: pkgs.nixfmt-tree); 34 + devShells = forSystems ({pkgs, ...}: { 35 + default = pkgs.mkShell { 36 + packages = with pkgs; [reuse]; 37 + }; 38 + }); 39 40 + legacyPackages = forSystems ({ pkgs, ... }: import ./. { inherit pkgs; }); 41 42 checks = forSystems ( 43 { pkgs, ourPackages, ... }:
+4
importPnpmLock.nix
··· 1 { 2 lib, 3 runCommand,
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 { 6 lib, 7 runCommand,
+4
iplConfigHook.nix
··· 1 { 2 makeSetupHook, 3 stdenvNoCC,
··· 1 + # SPDX-FileCopyrightText: 2026 Sefa Eyeoglu <contact@scrumplex.net> 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 { 6 makeSetupHook, 7 stdenvNoCC,