Commit cd7c5ba
committed
feature #40 Do not hardcode
This PR was merged into the main branch.
Discussion
----------
Do not hardcode `/nix/store` path
`@tucksaun` suggested me to not hardcode [`/nix/store`](https://nix.dev/manual/nix/2.24/store/store-path#store-directory) path, since it can be modified IIUC.
The command `nix eval --raw --expr builtins.storeDir` gives me the Nix store path:
```
symfony-cli on nix-no-hardcode via 🐳 orbstack via 🐹 v1.26.4 took 4s
✗ nix eval --raw --expr builtins.storeDir
/nix/store%
```
Commits
-------
9f290af Do not hardcode `/nix/store` path/nix/store path (Kocal)1 file changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 | | |
80 | | - | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
0 commit comments