Open nothingelsematters opened 3 years ago
first file:
args@{ firstArgument, ... }: { attribute = import ./file.nix args; }
./file.nix :
./file.nix
{ firstArgument }: { ... }
./file.nix uses firstArgument of first file's arguments
firstArgument
I get UnusedArgument for firstArgument here
UnusedArgument
But removing it results in: anonymous function at .../file.nix:1: called without required argument 'firstArgument', at first-file:10:10
anonymous function at .../file.nix:1: called without required argument 'firstArgument', at first-file:10:10
first file:
./file.nix
:./file.nix
usesfirstArgument
of first file's argumentsI get
UnusedArgument
forfirstArgument
hereBut removing it results in:
anonymous function at .../file.nix:1: called without required argument 'firstArgument', at first-file:10:10