Loading .envrc +0 −1 Original line number Diff line number Diff line source $(fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/v0.2.0/direnvrc "sha256-PFFxlZWNz/LLuNHA1Zpu2qdC3MF+oukv/TxFj5Utixk=") REN_FLAKE_ATTR=__std use ren //repo/devShells/default .nix/repo/benchmark.nix +5 −6 Original line number Diff line number Diff line { inputs, cell, }: { bench = inputs.nixpkgs.writeShellApplication { {inputs, ...}: let inherit (inputs) pkgs; in { bench = pkgs.writeShellApplication { name = "benchmark"; runtimeInputs = [inputs.nixpkgs.hyperfine]; runtimeInputs = [pkgs.hyperfine]; text = '' echo "Comparison cases first:" hyperfine -w 3 \ Loading .nix/repo/devShells.nix +5 −8 Original line number Diff line number Diff line { inputs, cell, }: let devshell = import "${inputs.self}/lib" { pkgs = inputs.nixpkgs; }; {inputs, ...}: let inherit (inputs) pkgs devshell; in { default = devshell.mkShell { packages = [inputs.nixpkgs.alejandra]; packages = [ pkgs.alejandra ]; env."HELLO".value = "world!"; enterShellCommands.test = { text = "echo Hello $HELLO"; Loading .nix/repo/flake.nix +6 −1 Original line number Diff line number Diff line Loading @@ -2,5 +2,10 @@ inputs = { nixtest-lib.url = "gitlab:TECHNOFAB/nixtest?dir=lib"; }; outputs = i: i; outputs = i: i // { ntlib = i.nixtest-lib.lib {inherit (i.parent) pkgs;}; devshell = import "${i.parent.self}/lib" {inherit (i.parent) pkgs;}; }; } .nix/repo/tests.nix +2 −7 Original line number Diff line number Diff line { inputs, cell, }: let pkgs = inputs.nixpkgs; ntlib = inputs.nixtest-lib.lib {inherit pkgs;}; devshell = import "${inputs.self}/lib" {inherit pkgs;}; {inputs, ...}: let inherit (inputs) pkgs ntlib devshell; in { tests = ntlib.mkNixtest { modules = ntlib.autodiscover {dir = "${inputs.self}/tests";}; Loading Loading
.envrc +0 −1 Original line number Diff line number Diff line source $(fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/v0.2.0/direnvrc "sha256-PFFxlZWNz/LLuNHA1Zpu2qdC3MF+oukv/TxFj5Utixk=") REN_FLAKE_ATTR=__std use ren //repo/devShells/default
.nix/repo/benchmark.nix +5 −6 Original line number Diff line number Diff line { inputs, cell, }: { bench = inputs.nixpkgs.writeShellApplication { {inputs, ...}: let inherit (inputs) pkgs; in { bench = pkgs.writeShellApplication { name = "benchmark"; runtimeInputs = [inputs.nixpkgs.hyperfine]; runtimeInputs = [pkgs.hyperfine]; text = '' echo "Comparison cases first:" hyperfine -w 3 \ Loading
.nix/repo/devShells.nix +5 −8 Original line number Diff line number Diff line { inputs, cell, }: let devshell = import "${inputs.self}/lib" { pkgs = inputs.nixpkgs; }; {inputs, ...}: let inherit (inputs) pkgs devshell; in { default = devshell.mkShell { packages = [inputs.nixpkgs.alejandra]; packages = [ pkgs.alejandra ]; env."HELLO".value = "world!"; enterShellCommands.test = { text = "echo Hello $HELLO"; Loading
.nix/repo/flake.nix +6 −1 Original line number Diff line number Diff line Loading @@ -2,5 +2,10 @@ inputs = { nixtest-lib.url = "gitlab:TECHNOFAB/nixtest?dir=lib"; }; outputs = i: i; outputs = i: i // { ntlib = i.nixtest-lib.lib {inherit (i.parent) pkgs;}; devshell = import "${i.parent.self}/lib" {inherit (i.parent) pkgs;}; }; }
.nix/repo/tests.nix +2 −7 Original line number Diff line number Diff line { inputs, cell, }: let pkgs = inputs.nixpkgs; ntlib = inputs.nixtest-lib.lib {inherit pkgs;}; devshell = import "${inputs.self}/lib" {inherit pkgs;}; {inputs, ...}: let inherit (inputs) pkgs ntlib devshell; in { tests = ntlib.mkNixtest { modules = ntlib.autodiscover {dir = "${inputs.self}/tests";}; Loading