| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
serokell/rvem/#202-add-workaround-for-derivations-store-paths-interpolation
[#202] Provide '^out' suffix for deriver on newer nix
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Since 2.15 nix no longer reference '.drv' as derivation
outputs. At the same time, nix before '2.13' doesn't support '.drv'
special suffix handling.
Solution: Provide '^out' suffix for the profile deriver in case
'nix path-info <...>.drv' returns the same '<...>.drv' path.
In other cases either an error about the build result not being present
in the /nix/store is returned or an actual build result path is
returned.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: 'temp_path' and 'lock_path' are handled as 'String'.
This can be a problem when the 'temp_path' directory is a symlink
on the target system, e.g. this is the case with the default
'/tmp' and macOS, where this directory is actually a symlink to '/private/tmp'.
Solution: Handle 'temp_path' and 'lock_path' as actual Paths.
Also, canonicalize 'temp_path' to avoid canary file path mismatches when checking
filesystem events.
As a side effect, also update the 'notify' dependency to the latest stable version.
|
| |
|
| |
|
| |
|
|
|
|
| |
avoid forking or disconnecting std{out,err}
|
| |
|
|
|
|
|
| |
The notify crate is cross-platform, and the newer tokio has some bug
fixes. Let's use those.
|
|
|
|
|
|
|
|
| |
* Debump the smol_str version to 0.1.16 to build on rust 1.45.2
Rust 1.45.2 is what ships in the 20.09 release, and smol_str 0.1.17 is
incompatible with it.
* Clarify version bounds on the smol_str dependency
|
| |
|
| |
|
| |
|
| |
|
|
|