emmanuelrosa / erosanix Goto Github PK
View Code? Open in Web Editor NEWMy main NixOS/Nix Flakes repository
License: MIT License
My main NixOS/Nix Flakes repository
License: MIT License
In some cases, fileMap
only works if the base name of both components is the same. For instance, if the map looks like:
fileMap = {
"$HOME/.config/A" = "drive_c/users/$USER/AppData/Roaming/B";
};
and B
is a directory, then loading A
into the temporary Wine directory B
works fine (and, the very first time, does nothing). However, persisting B
into A
does not work and the files will be persisted to $HOME/.config/B
instead. The culprit is the function persist_file
:
erosanix/pkgs/mkwindowsapp/default.nix
Lines 189 to 206 in 90f5e8e
When the source $s
is a directory (line 202), then we run cp -v -r -n "$s" "$base_dir"
, where base_dir=$(dirname "$d")
. In the example:
$s == "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/B"
$d == "$HOME/.config/A"
$base_dir == "$HOME/.config/"
so we run:
cp -v -r -n "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/B" "$HOME/.config/"
which indeed creates $HOME/.config/B
instead of $HOME/.config/A
.
A mitigation is of course to ensure A == B
, and this is what I use for now.
Thank you for this app, by the way โ it's amazing!
I have a package for foobar2000 2.0, which is currently in beta. I'm waiting for it to get out of beta because I don't want to maintain 2 foobar2000 packages.
The fileMapDuringAppInstall
attribute is supposed to mount the fileMap
during the app install phase, but it doesn't work properly because file mapping never applies when the source and destination don't exist, which is the use-case for fileMapDuringAppInstall
.
In the mean time, don't use the attribute.
Recently mangohud stopped working.
Vulkan and mangohud functionality is now incorporated in mkWindowsApp
, and it works fine for Sable but for some reason mangohud doesn't execute at all for Roblox.
Hi, first of all, thanks for this very cool repo. I'm still learning nix and I'm trying to install line on my nixos.
I'm having the following error:
$ nix run github:emmanuelrosa/erosanix#line
error: hash mismatch in fixed-output derivation '/nix/store/xw79w356gwfchyrxwxdf71djlcw64v09-LineInst.exe.drv':
specified: sha256-OZVWkgRA3idGY2lvgOhBqm2eHzJNZFBDxuZNZJZTMDc=
got: sha256-3dluIkOincyogSu89+L5O3oC6U6h/FUJPale+JhJtBw=
error: 1 dependencies of derivation '/nix/store/nfi8rlvpa2msiqr3406cy9r10p1swgrk-line-8.7.0.3302.drv' failed to build
I have no clue on how I could fix this, I did try to override the sha256 of the line exe file with but with no succes.
Any help would be really appreciated.
Thanks!
I'm halting updates to Sierra Shart until performance issues are resolved. For context see the following links:
Opening the studies window shows this error in the log
Failed to get the function address for scsf_WaveTrendIndicator in C:\SierraChart\Data\SierraChartStudies.dll. Error: Windows error code 127: Procedure not found. | 2022-08-25 19:32:04.771 *
I think the problem is that during the first run of the sierrachart script the study DLLs from that version of Sierra Chart are copied to a user-specific directory. I did that because the Data directory is meant for volitale files. However, it seems that those DLLs are sometimes updated with new functions. In that case, the current script will not install those updated DLLs.
This means I will need to handle this special case differently so that the upstream study DLLs are always used. I don't want to loose the ability for seamless rollbacks.
mangoHUD stopped working at some point. I have a work-around which addresses its inability to load libX11.so by using LD_LIBRARY_PATH, but something else must be wrong because mangoHUD still doesn't work anymore.
I have an unpublished branch which adds Wayland support, but the Wine Wayland graphics driver is currently really buggy.
I haven't dived into this but could this work eventually for mkWindowsApp function on darwin?
I re-wrote the protonvpn module to use wireguard instead of OpenVPN, but it's currently broken. Restarting wireguard-protonvpn.service gets it going, but it should just work the first time.
The roblox installer and launcher are self-updating; Any attempt to run an old version will cause the update to be downloaded and installed.
It's possible to detect which Roblox version is the current one using data from the registry, but thus far I've been unable to get the regsitry query to work in a script; It works fine in an interactive session.
The Nix packaging works, but sierrachart is unable to load the DLL compiled on NixOS.
x.dll loading error. Windows error code 126: Module not found. | 2023-07-28 18:19:40.726
InternalVersionNumberToFileNameMap is empty for x | 2023-07-28 18:19:40.726
Closest match search for: C:\SierraChart\Data\x.dll returned empty result. | 2023-07-28 18:19:40.726 *
Loading DLL: C:\SierraChart\Data\UserContributedStudies.dll (UserContributedStudies_64.dll). Handle: 8780000 | 2023-07-28 18:19:40.739
I'm assuming there's some mingw-related DLL that's missing, but I don't know what it could be. I forgot how I figured out the mcfthreads problem the last time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.