Comments (10)
None I'm aware of. There was an old request but I don't really know a thing about nix: #183
btw, macOS has moved pass homebrew and people are adopting nix?
from fvim.
for gui apps homebrew is still important (but nix-darwin allows install of homebrew packages while deploying). but actually i ask for a linux package. i started working on it. but it will be my first package :(
https://github.com/luxus/nixpkgs/blob/fvim/pkgs/applications/editors/neovim/fvim/default.nix
from fvim.
@yatli maybe you can help me
i cannot build it :(
https://gist.github.com/luxus/ac5493d45f945677993653e16e8a0954
from fvim.
You need dotnet
, not xbuild
-- that's a mono thing.
from fvim.
the strange thing my nix file doesn't mentioned xbuild at all.
i tried to find any f# project that is build in nixpkgs but no success yet
is there any popular software that is build in f# @yatli ?
from fvim.
Project file should be: fvim.fsproj
, not Avalonia/fvim_avalonia.fsproj
Also see: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/dotnet.section.md
Seems like you need to specify dotnet-sdk
, dotnet-runtime
and dotnetFlags
(If you don't, it "intelligently" falls back to mono, it seems...)
Set both sdk and runtime to 6.0 would do.
As for how these flags match against our pack.sh
, I don't know... You may need to consult the nix dotnet module implementation.
btw it's the first time I ever looked into nixos wiki. The language seems nice, "pythonic F#/ML" ;)
from fvim.
thanks for the hints. i tried to get it working.. but i really have no clue about f# and i'm pretty new to nixpkgs as well :D
if you are interested in nix on windows you can checkout
https://github.com/viperML/home-manager-wsl
or https://github.com/nix-community/NixOS-WSL
here is a good talk why nix will go mainstream
https://discourse.nixos.org/t/domen-kozar-nix-is-going-mainstream-son2022-public-lecture-series/20923
from fvim.
I have a working package there. I may consider opening a PR on nixpkgs, but there are a few things I am unsatisfied with, mainly that I have to patch fvim.fsproj
to set PublishTrimmed
and PublishReadyToRun
to false, otherwise it fails at the linking time (I think, I don't know anything about dotnet 😅).
@luxus if you have flakes enabled in nix, you can try it with nix run github:dwarfmaster/home-nix#fvim
from fvim.
nice, that you figured it out .. sad that the project is so inactive :(
the nix run github:dwarfmaster/home-nix#fvim
didn't work btw.
zsh: no matches found: github:dwarfmaster/home-nix#fvim
from fvim.
Oh right you need to escape the #, ie nix run "github:dwarfmaster/home-nix#fvim"
(I think, for some reason even without the quotes it works on my computer).
from fvim.
Related Issues (20)
- [ Request ] no title bar option HOT 2
- When opening as default editor, can't use --wsl HOT 1
- support for variable width fonts? HOT 2
- fvim stuck when hit tab auto-completion HOT 2
- win11 with custom titlebar/no titlebar maximize covers taskbar.
- Improve startup speed on macOS HOT 3
- [Linux]'Shift + Tab ' not working
- FVim --setup registers wrong pattern in file association HOT 3
- Scrollbar is broken
- fvim titlebar does not respect windows color scheme HOT 4
- not all char from nerd font loaded correctly HOT 4
- The nerd font arrow does not display correctly HOT 1
- Signcolumn pixels with plugin "gitsigns"
- wrong display of popup for hover window
- cannot drag-n-drop to open file from some software HOT 2
- 启动时出错 windows11无法正常启动
- 0.3.548 release artifact versioning issue
- Blank window on neovim 0.92 HOT 5
- Windows startup time
- Could not CreateWindow(): IWindowingPlatform is not registered HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvim.