summaryrefslogtreecommitdiff
path: root/2023/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '2023/flake.nix')
-rw-r--r--2023/flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/2023/flake.nix b/2023/flake.nix
index 9971fc1..1586422 100644
--- a/2023/flake.nix
+++ b/2023/flake.nix
@@ -60,7 +60,7 @@
60 { 60 {
61 int answer{}; 61 int answer{};
62 62
63 std::ifstream input{ "resources/input_small.txt" }; 63 std::ifstream input{ argv[1] };
64 if (input.is_open()) 64 if (input.is_open())
65 { 65 {
66 std::string line; 66 std::string line;