Skip to content

Commit

Permalink
fix: onix-lock-dev works correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
emeinhardt committed Dec 2, 2024
1 parent 3d6fc96 commit d80d1b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
let
shellHook = pkgs.writeText "onix-lock-shellHook" onixEnv.lock.shellHook;
lockPatched = pkgs.runCommand "onix-lock-shellHook-patched" { } ''
sed 's:--lock-file=/nix/store/.*/onix-lock.json::' "${shellHook}" > "$out"
sed 's:--lock-file=/nix/store/.*/onix-lock.json:--lock-file=./onix-lock.json:' "${shellHook}" > "$out"
chmod +x "$out"
'';
in
Expand All @@ -60,7 +60,7 @@
let
shellHook = pkgs.writeText "onix-lock-dev-shellHook" onixEnvDev.lock.shellHook;
lockPatched = pkgs.runCommand "onix-lock-dev-shellHook-patched" { } ''
sed 's:--lock-file=/nix/store/.*/onix-lock-dev.json::' "${shellHook}" > "$out"
sed 's:--lock-file=/nix/store/.*/onix-lock-dev.json:--lock-file=./onix-lock-dev.json:' "${shellHook}" > "$out"
chmod +x "$out"
'';
in
Expand Down

0 comments on commit d80d1b4

Please sign in to comment.