1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1584
+user: Proxies\__CG__\App\Entity\User {#1874 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "NixOS-neovim-plugins"
+title: "NixOS - neovim plugins"
+url: null
+body: """
Hello,\n
\n
The NixOS community has been great in helping me with my first steps in this distro. So I’ll ask again few neovim-related issues I couldn’t figure out after 3 days of search.\n
\n
First, let me tell you that I’m trying to import a working neovim setup from another distro. Then let’s see how I’ve configured neovim. I have this in my home.nix file:\n
\n
```\n
\n
<span style="color:#323232;">programs.neovim = {\n
</span><span style="color:#323232;"> enable = true;\n
</span><span style="color:#323232;"> withPython3 = true;\n
</span><span style="color:#323232;"> extraPython3Packages = (ps: with ps; [\n
</span><span style="color:#323232;"> pynvim\n
</span><span style="color:#323232;"> unidecode\n
</span><span style="color:#323232;"> black\n
</span><span style="color:#323232;"> isort\n
</span><span style="color:#323232;"> ]);\n
</span><span style="color:#323232;"> plugins = with pkgs.vimPlugins; [\n
</span><span style="color:#323232;"> { plugin = *plugin_name*;\n
</span><span style="color:#323232;"> type = "lua";\n
</span><span style="color:#323232;"> config = builtins.readFile *config_file_path*;\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;"> ...\n
</span><span style="color:#323232;"> ];\n
</span><span style="color:#323232;">};\n
</span>\n
```\n
\n
(my init.lua file is in the $HOME/.config/nvim folder)\n
\n
With that most of my plugins work. Most because few are troublesome. Let’s focus on three of them:\n
\n
1. I have pkgs.vimPlugins.nvim-comment installed but neovim reports that the command `CommentToggle` is not an editor command\n
2. I have pkgs.vimPlugins.nvim-treesitter installed but the command `TSInstall markdown` returns “could not create parser dir '/nix/store/…/nvim-treesitter/parser ': Vim:E739: read-only file system '”\n
3. I have pkgs.vimPlugins.mason-nvim and pkgs.vimPlugins.mason-lspconfig-nvim installed but runngin `checkhealth mason` returns few warnings:\n
\n
- mason.nvim is not the latest version (I use the unstable channel)\n
- pip: not available spawn: python3 failed with exit code 1 and signal 0. /run/current-system/sw/bin/python3: No module named pip (note that python3_host_prog and python3_host_prog pip are marked “OK”)\n
\n
Thanks again for your assistance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 11
+favouriteCount: 27
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728324831 {#2083
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2081 …}
+votes: Doctrine\ORM\PersistentCollection {#2091 …}
+reports: Doctrine\ORM\PersistentCollection {#2090 …}
+favourites: Doctrine\ORM\PersistentCollection {#2092 …}
+notifications: Doctrine\ORM\PersistentCollection {#2241 …}
+badges: Doctrine\ORM\PersistentCollection {#2130 …}
+children: [
App\Entity\EntryComment {#1744
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1584 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: null
+root: null
+body: """
Not sure about 1, but 2 and 3 both have the same answer. Both TSInstall and Mason are just trying to install other software packages on your system, and you’re on NixOS, so of course they can’t do that. You don’t install your software, you declare it. Add the Treesitter parsers you need right next to your plugins (there is a sub collection under the vimPlugins collection just for Treesitter parsers), and put whatever Mason would be installing into your user packages instead.\n
\n
That said, I agree with the other commenter. Even though the community has done a lot of work on rich config options for Neovim, they’re just too far away from the normal way of doing things in the Neovim world, and plenty of plugins are written in ways that assume it’s configured in “normal” ways. Plus configuring Neovim is already kinda like assembling your own car from parts in any case, so it’s honestly better to just use nix to install Lazyvim or whatever flavor of choice and let it handle the plugin management/config. And believe me, I really tried to do it all in Nix, I wanted to do it that way. But it’s just not worth the headache at this point
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1728324831 {#1438
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#1585 …}
+nested: Doctrine\ORM\PersistentCollection {#1586 …}
+votes: Doctrine\ORM\PersistentCollection {#1575 …}
+reports: Doctrine\ORM\PersistentCollection {#1572 …}
+favourites: Doctrine\ORM\PersistentCollection {#1568 …}
+notifications: Doctrine\ORM\PersistentCollection {#1653 …}
-id: 335818
-bodyTs: "'1':4 '2':6 '3':8 'add':51 'agre':90 'alreadi':148 'answer':13 'assembl':151 'assum':137 'away':116 'believ':185 'better':164 'car':154 'case':159 'choic':176 'collect':66,70 'comment':94 'communiti':98 'config':107 'configur':140,145 'cours':36 'declar':49 'done':100 'even':95 'far':115 'flavor':174 'handl':180 'headach':210 'honest':163 'instal':22,45,81,170 'instead':86 'kinda':149 'lazyvim':171 'let':178 'like':150 'lot':102 'management/config':183 'mason':17,78 'need':56 'neovim':110,126,146 'next':58 'nix':168,195 'nixo':33 'normal':119,142 'option':108 'packag':25,85 'parser':54,74 'part':156 'plenti':129 'plugin':61,131,182 'plus':144 'point':213 'put':76 're':31,112 'realli':188 'rich':106 'right':57 'said':88 'softwar':24,47 'sub':65 'sure':2 'system':28 'thing':123 'though':96 'treesitt':53,73 'tri':20,189 'tsinstal':15 'use':167 'user':84 'vimplugin':69 'want':197 'way':120,135,143,202 'whatev':77,173 'work':104 'world':127 'worth':208 'would':79 'written':133"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6960591"
+editedAt: DateTimeImmutable @1728156939 {#1700
date: 2024-10-05 21:35:39.0 +02:00
}
+createdAt: DateTimeImmutable @1706066173 {#1694
date: 2024-01-24 04:16:13.0 +01:00
}
+"title": 335818
}
]
-id: 32711
-titleTs: "'neovim':2 'nixo':1 'plugin':3"
-bodyTs: "'/nix/store':160 '/nvim-treesitter/parser':161 '/run/current-system/sw/bin/python3':211 '0':210 '1':125,207 '2':143 '3':34,169 'anoth':54 'ask':21 'assist':233 'avail':200 'black':83 'builtins.readfile':94 'channel':197 'checkhealth':182 'code':206 'command':136,142,151 'comment':129 'commenttoggl':137 'communiti':4 'config':93,95 'configur':63 'could':155 'couldn':29 'creat':157 'day':35 'dir':159 'distro':17,55 'e739':163 'editor':141 'enabl':73 'exit':205 'extrapython3packages':77 'fail':203 'figur':31 'file':71,96,100,167 'first':13,38 'focus':120 'folder':105 'great':7 'hello':1 'help':9 'home.nix':70 'home/.config/nvim':104 'host':219,223 'import':48 'init.lua':99 'instal':130,148,179 'isort':84 'issu':27 'latest':191 'let':39,57,118 'll':20 'lspconfig':177 'lspconfig-nvim':176 'lua':92 'm':45 'mark':227 'markdown':153 'mason':183 'mason.nvim':187 'modul':213 'name':90,214 'neovim':25,51,64,132 'neovim-rel':24 'nixo':3 'note':216 'nvim':173,178 'ok':228 'parser':158 'path':97 'pip':198,215,225 'pkgs.vimplugins':87 'pkgs.vimplugins.mason':172,175 'pkgs.vimplugins.nvim':128,146 'plugin':85,88,89,111 'prog':220,224 'programs.neovim':72 'ps':78,80 'pynvim':81 'python3':202,218,222 'read':165 'read-on':164 'relat':26 'report':133 'return':154,184 'runngin':181 'search':37 'see':59 'setup':52 'signal':209 'spawn':201 'step':14 'system':168 'tell':41 'thank':229 'three':122 'treesitt':147 'tri':46 'troublesom':117 'true':74,76 'tsinstal':152 'type':91 'unidecod':82 'unstabl':196 'use':194 've':62 'version':192 'vim':162 'warn':186 'withpython3':75 'work':50,112"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706138811
+visibility: "visible "
+apId: "https://lemmy.ml/post/10954164"
+editedAt: DateTimeImmutable @1728109137 {#1735
date: 2024-10-05 08:18:57.0 +02:00
}
+createdAt: DateTimeImmutable @1706052411 {#1740
date: 2024-01-24 00:26:51.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
Proxies\__CG__\App\Entity\Entry {#1584
+user: Proxies\__CG__\App\Entity\User {#1874 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "NixOS-neovim-plugins"
+title: "NixOS - neovim plugins"
+url: null
+body: """
Hello,\n
\n
The NixOS community has been great in helping me with my first steps in this distro. So I’ll ask again few neovim-related issues I couldn’t figure out after 3 days of search.\n
\n
First, let me tell you that I’m trying to import a working neovim setup from another distro. Then let’s see how I’ve configured neovim. I have this in my home.nix file:\n
\n
```\n
\n
<span style="color:#323232;">programs.neovim = {\n
</span><span style="color:#323232;"> enable = true;\n
</span><span style="color:#323232;"> withPython3 = true;\n
</span><span style="color:#323232;"> extraPython3Packages = (ps: with ps; [\n
</span><span style="color:#323232;"> pynvim\n
</span><span style="color:#323232;"> unidecode\n
</span><span style="color:#323232;"> black\n
</span><span style="color:#323232;"> isort\n
</span><span style="color:#323232;"> ]);\n
</span><span style="color:#323232;"> plugins = with pkgs.vimPlugins; [\n
</span><span style="color:#323232;"> { plugin = *plugin_name*;\n
</span><span style="color:#323232;"> type = "lua";\n
</span><span style="color:#323232;"> config = builtins.readFile *config_file_path*;\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;"> ...\n
</span><span style="color:#323232;"> ];\n
</span><span style="color:#323232;">};\n
</span>\n
```\n
\n
(my init.lua file is in the $HOME/.config/nvim folder)\n
\n
With that most of my plugins work. Most because few are troublesome. Let’s focus on three of them:\n
\n
1. I have pkgs.vimPlugins.nvim-comment installed but neovim reports that the command `CommentToggle` is not an editor command\n
2. I have pkgs.vimPlugins.nvim-treesitter installed but the command `TSInstall markdown` returns “could not create parser dir '/nix/store/…/nvim-treesitter/parser ': Vim:E739: read-only file system '”\n
3. I have pkgs.vimPlugins.mason-nvim and pkgs.vimPlugins.mason-lspconfig-nvim installed but runngin `checkhealth mason` returns few warnings:\n
\n
- mason.nvim is not the latest version (I use the unstable channel)\n
- pip: not available spawn: python3 failed with exit code 1 and signal 0. /run/current-system/sw/bin/python3: No module named pip (note that python3_host_prog and python3_host_prog pip are marked “OK”)\n
\n
Thanks again for your assistance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 11
+favouriteCount: 27
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728324831 {#2083
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2081 …}
+votes: Doctrine\ORM\PersistentCollection {#2091 …}
+reports: Doctrine\ORM\PersistentCollection {#2090 …}
+favourites: Doctrine\ORM\PersistentCollection {#2092 …}
+notifications: Doctrine\ORM\PersistentCollection {#2241 …}
+badges: Doctrine\ORM\PersistentCollection {#2130 …}
+children: [
App\Entity\EntryComment {#1744
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1584 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: null
+root: null
+body: """
Not sure about 1, but 2 and 3 both have the same answer. Both TSInstall and Mason are just trying to install other software packages on your system, and you’re on NixOS, so of course they can’t do that. You don’t install your software, you declare it. Add the Treesitter parsers you need right next to your plugins (there is a sub collection under the vimPlugins collection just for Treesitter parsers), and put whatever Mason would be installing into your user packages instead.\n
\n
That said, I agree with the other commenter. Even though the community has done a lot of work on rich config options for Neovim, they’re just too far away from the normal way of doing things in the Neovim world, and plenty of plugins are written in ways that assume it’s configured in “normal” ways. Plus configuring Neovim is already kinda like assembling your own car from parts in any case, so it’s honestly better to just use nix to install Lazyvim or whatever flavor of choice and let it handle the plugin management/config. And believe me, I really tried to do it all in Nix, I wanted to do it that way. But it’s just not worth the headache at this point
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1728324831 {#1438
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#1585 …}
+nested: Doctrine\ORM\PersistentCollection {#1586 …}
+votes: Doctrine\ORM\PersistentCollection {#1575 …}
+reports: Doctrine\ORM\PersistentCollection {#1572 …}
+favourites: Doctrine\ORM\PersistentCollection {#1568 …}
+notifications: Doctrine\ORM\PersistentCollection {#1653 …}
-id: 335818
-bodyTs: "'1':4 '2':6 '3':8 'add':51 'agre':90 'alreadi':148 'answer':13 'assembl':151 'assum':137 'away':116 'believ':185 'better':164 'car':154 'case':159 'choic':176 'collect':66,70 'comment':94 'communiti':98 'config':107 'configur':140,145 'cours':36 'declar':49 'done':100 'even':95 'far':115 'flavor':174 'handl':180 'headach':210 'honest':163 'instal':22,45,81,170 'instead':86 'kinda':149 'lazyvim':171 'let':178 'like':150 'lot':102 'management/config':183 'mason':17,78 'need':56 'neovim':110,126,146 'next':58 'nix':168,195 'nixo':33 'normal':119,142 'option':108 'packag':25,85 'parser':54,74 'part':156 'plenti':129 'plugin':61,131,182 'plus':144 'point':213 'put':76 're':31,112 'realli':188 'rich':106 'right':57 'said':88 'softwar':24,47 'sub':65 'sure':2 'system':28 'thing':123 'though':96 'treesitt':53,73 'tri':20,189 'tsinstal':15 'use':167 'user':84 'vimplugin':69 'want':197 'way':120,135,143,202 'whatev':77,173 'work':104 'world':127 'worth':208 'would':79 'written':133"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6960591"
+editedAt: DateTimeImmutable @1728156939 {#1700
date: 2024-10-05 21:35:39.0 +02:00
}
+createdAt: DateTimeImmutable @1706066173 {#1694
date: 2024-01-24 04:16:13.0 +01:00
}
+"title": 335818
}
]
-id: 32711
-titleTs: "'neovim':2 'nixo':1 'plugin':3"
-bodyTs: "'/nix/store':160 '/nvim-treesitter/parser':161 '/run/current-system/sw/bin/python3':211 '0':210 '1':125,207 '2':143 '3':34,169 'anoth':54 'ask':21 'assist':233 'avail':200 'black':83 'builtins.readfile':94 'channel':197 'checkhealth':182 'code':206 'command':136,142,151 'comment':129 'commenttoggl':137 'communiti':4 'config':93,95 'configur':63 'could':155 'couldn':29 'creat':157 'day':35 'dir':159 'distro':17,55 'e739':163 'editor':141 'enabl':73 'exit':205 'extrapython3packages':77 'fail':203 'figur':31 'file':71,96,100,167 'first':13,38 'focus':120 'folder':105 'great':7 'hello':1 'help':9 'home.nix':70 'home/.config/nvim':104 'host':219,223 'import':48 'init.lua':99 'instal':130,148,179 'isort':84 'issu':27 'latest':191 'let':39,57,118 'll':20 'lspconfig':177 'lspconfig-nvim':176 'lua':92 'm':45 'mark':227 'markdown':153 'mason':183 'mason.nvim':187 'modul':213 'name':90,214 'neovim':25,51,64,132 'neovim-rel':24 'nixo':3 'note':216 'nvim':173,178 'ok':228 'parser':158 'path':97 'pip':198,215,225 'pkgs.vimplugins':87 'pkgs.vimplugins.mason':172,175 'pkgs.vimplugins.nvim':128,146 'plugin':85,88,89,111 'prog':220,224 'programs.neovim':72 'ps':78,80 'pynvim':81 'python3':202,218,222 'read':165 'read-on':164 'relat':26 'report':133 'return':154,184 'runngin':181 'search':37 'see':59 'setup':52 'signal':209 'spawn':201 'step':14 'system':168 'tell':41 'thank':229 'three':122 'treesitt':147 'tri':46 'troublesom':117 'true':74,76 'tsinstal':152 'type':91 'unidecod':82 'unstabl':196 'use':194 've':62 'version':192 'vim':162 'warn':186 'withpython3':75 'work':50,112"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706138811
+visibility: "visible "
+apId: "https://lemmy.ml/post/10954164"
+editedAt: DateTimeImmutable @1728109137 {#1735
date: 2024-10-05 08:18:57.0 +02:00
}
+createdAt: DateTimeImmutable @1706052411 {#1740
date: 2024-01-24 00:26:51.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1584
+user: Proxies\__CG__\App\Entity\User {#1874 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "NixOS-neovim-plugins"
+title: "NixOS - neovim plugins"
+url: null
+body: """
Hello,\n
\n
The NixOS community has been great in helping me with my first steps in this distro. So I’ll ask again few neovim-related issues I couldn’t figure out after 3 days of search.\n
\n
First, let me tell you that I’m trying to import a working neovim setup from another distro. Then let’s see how I’ve configured neovim. I have this in my home.nix file:\n
\n
```\n
\n
<span style="color:#323232;">programs.neovim = {\n
</span><span style="color:#323232;"> enable = true;\n
</span><span style="color:#323232;"> withPython3 = true;\n
</span><span style="color:#323232;"> extraPython3Packages = (ps: with ps; [\n
</span><span style="color:#323232;"> pynvim\n
</span><span style="color:#323232;"> unidecode\n
</span><span style="color:#323232;"> black\n
</span><span style="color:#323232;"> isort\n
</span><span style="color:#323232;"> ]);\n
</span><span style="color:#323232;"> plugins = with pkgs.vimPlugins; [\n
</span><span style="color:#323232;"> { plugin = *plugin_name*;\n
</span><span style="color:#323232;"> type = "lua";\n
</span><span style="color:#323232;"> config = builtins.readFile *config_file_path*;\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;"> ...\n
</span><span style="color:#323232;"> ];\n
</span><span style="color:#323232;">};\n
</span>\n
```\n
\n
(my init.lua file is in the $HOME/.config/nvim folder)\n
\n
With that most of my plugins work. Most because few are troublesome. Let’s focus on three of them:\n
\n
1. I have pkgs.vimPlugins.nvim-comment installed but neovim reports that the command `CommentToggle` is not an editor command\n
2. I have pkgs.vimPlugins.nvim-treesitter installed but the command `TSInstall markdown` returns “could not create parser dir '/nix/store/…/nvim-treesitter/parser ': Vim:E739: read-only file system '”\n
3. I have pkgs.vimPlugins.mason-nvim and pkgs.vimPlugins.mason-lspconfig-nvim installed but runngin `checkhealth mason` returns few warnings:\n
\n
- mason.nvim is not the latest version (I use the unstable channel)\n
- pip: not available spawn: python3 failed with exit code 1 and signal 0. /run/current-system/sw/bin/python3: No module named pip (note that python3_host_prog and python3_host_prog pip are marked “OK”)\n
\n
Thanks again for your assistance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 11
+favouriteCount: 27
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728324831 {#2083
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2081 …}
+votes: Doctrine\ORM\PersistentCollection {#2091 …}
+reports: Doctrine\ORM\PersistentCollection {#2090 …}
+favourites: Doctrine\ORM\PersistentCollection {#2092 …}
+notifications: Doctrine\ORM\PersistentCollection {#2241 …}
+badges: Doctrine\ORM\PersistentCollection {#2130 …}
+children: [
App\Entity\EntryComment {#1744
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1584 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: null
+root: null
+body: """
Not sure about 1, but 2 and 3 both have the same answer. Both TSInstall and Mason are just trying to install other software packages on your system, and you’re on NixOS, so of course they can’t do that. You don’t install your software, you declare it. Add the Treesitter parsers you need right next to your plugins (there is a sub collection under the vimPlugins collection just for Treesitter parsers), and put whatever Mason would be installing into your user packages instead.\n
\n
That said, I agree with the other commenter. Even though the community has done a lot of work on rich config options for Neovim, they’re just too far away from the normal way of doing things in the Neovim world, and plenty of plugins are written in ways that assume it’s configured in “normal” ways. Plus configuring Neovim is already kinda like assembling your own car from parts in any case, so it’s honestly better to just use nix to install Lazyvim or whatever flavor of choice and let it handle the plugin management/config. And believe me, I really tried to do it all in Nix, I wanted to do it that way. But it’s just not worth the headache at this point
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1728324831 {#1438
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#1585 …}
+nested: Doctrine\ORM\PersistentCollection {#1586 …}
+votes: Doctrine\ORM\PersistentCollection {#1575 …}
+reports: Doctrine\ORM\PersistentCollection {#1572 …}
+favourites: Doctrine\ORM\PersistentCollection {#1568 …}
+notifications: Doctrine\ORM\PersistentCollection {#1653 …}
-id: 335818
-bodyTs: "'1':4 '2':6 '3':8 'add':51 'agre':90 'alreadi':148 'answer':13 'assembl':151 'assum':137 'away':116 'believ':185 'better':164 'car':154 'case':159 'choic':176 'collect':66,70 'comment':94 'communiti':98 'config':107 'configur':140,145 'cours':36 'declar':49 'done':100 'even':95 'far':115 'flavor':174 'handl':180 'headach':210 'honest':163 'instal':22,45,81,170 'instead':86 'kinda':149 'lazyvim':171 'let':178 'like':150 'lot':102 'management/config':183 'mason':17,78 'need':56 'neovim':110,126,146 'next':58 'nix':168,195 'nixo':33 'normal':119,142 'option':108 'packag':25,85 'parser':54,74 'part':156 'plenti':129 'plugin':61,131,182 'plus':144 'point':213 'put':76 're':31,112 'realli':188 'rich':106 'right':57 'said':88 'softwar':24,47 'sub':65 'sure':2 'system':28 'thing':123 'though':96 'treesitt':53,73 'tri':20,189 'tsinstal':15 'use':167 'user':84 'vimplugin':69 'want':197 'way':120,135,143,202 'whatev':77,173 'work':104 'world':127 'worth':208 'would':79 'written':133"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6960591"
+editedAt: DateTimeImmutable @1728156939 {#1700
date: 2024-10-05 21:35:39.0 +02:00
}
+createdAt: DateTimeImmutable @1706066173 {#1694
date: 2024-01-24 04:16:13.0 +01:00
}
+"title": 335818
}
]
-id: 32711
-titleTs: "'neovim':2 'nixo':1 'plugin':3"
-bodyTs: "'/nix/store':160 '/nvim-treesitter/parser':161 '/run/current-system/sw/bin/python3':211 '0':210 '1':125,207 '2':143 '3':34,169 'anoth':54 'ask':21 'assist':233 'avail':200 'black':83 'builtins.readfile':94 'channel':197 'checkhealth':182 'code':206 'command':136,142,151 'comment':129 'commenttoggl':137 'communiti':4 'config':93,95 'configur':63 'could':155 'couldn':29 'creat':157 'day':35 'dir':159 'distro':17,55 'e739':163 'editor':141 'enabl':73 'exit':205 'extrapython3packages':77 'fail':203 'figur':31 'file':71,96,100,167 'first':13,38 'focus':120 'folder':105 'great':7 'hello':1 'help':9 'home.nix':70 'home/.config/nvim':104 'host':219,223 'import':48 'init.lua':99 'instal':130,148,179 'isort':84 'issu':27 'latest':191 'let':39,57,118 'll':20 'lspconfig':177 'lspconfig-nvim':176 'lua':92 'm':45 'mark':227 'markdown':153 'mason':183 'mason.nvim':187 'modul':213 'name':90,214 'neovim':25,51,64,132 'neovim-rel':24 'nixo':3 'note':216 'nvim':173,178 'ok':228 'parser':158 'path':97 'pip':198,215,225 'pkgs.vimplugins':87 'pkgs.vimplugins.mason':172,175 'pkgs.vimplugins.nvim':128,146 'plugin':85,88,89,111 'prog':220,224 'programs.neovim':72 'ps':78,80 'pynvim':81 'python3':202,218,222 'read':165 'read-on':164 'relat':26 'report':133 'return':154,184 'runngin':181 'search':37 'see':59 'setup':52 'signal':209 'spawn':201 'step':14 'system':168 'tell':41 'thank':229 'three':122 'treesitt':147 'tri':46 'troublesom':117 'true':74,76 'tsinstal':152 'type':91 'unidecod':82 'unstabl':196 'use':194 've':62 'version':192 'vim':162 'warn':186 'withpython3':75 'work':50,112"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706138811
+visibility: "visible "
+apId: "https://lemmy.ml/post/10954164"
+editedAt: DateTimeImmutable @1728109137 {#1735
date: 2024-10-05 08:18:57.0 +02:00
}
+createdAt: DateTimeImmutable @1706052411 {#1740
date: 2024-01-24 00:26:51.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1744
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1584
+user: Proxies\__CG__\App\Entity\User {#1874 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "NixOS-neovim-plugins"
+title: "NixOS - neovim plugins"
+url: null
+body: """
Hello,\n
\n
The NixOS community has been great in helping me with my first steps in this distro. So I’ll ask again few neovim-related issues I couldn’t figure out after 3 days of search.\n
\n
First, let me tell you that I’m trying to import a working neovim setup from another distro. Then let’s see how I’ve configured neovim. I have this in my home.nix file:\n
\n
```\n
\n
<span style="color:#323232;">programs.neovim = {\n
</span><span style="color:#323232;"> enable = true;\n
</span><span style="color:#323232;"> withPython3 = true;\n
</span><span style="color:#323232;"> extraPython3Packages = (ps: with ps; [\n
</span><span style="color:#323232;"> pynvim\n
</span><span style="color:#323232;"> unidecode\n
</span><span style="color:#323232;"> black\n
</span><span style="color:#323232;"> isort\n
</span><span style="color:#323232;"> ]);\n
</span><span style="color:#323232;"> plugins = with pkgs.vimPlugins; [\n
</span><span style="color:#323232;"> { plugin = *plugin_name*;\n
</span><span style="color:#323232;"> type = "lua";\n
</span><span style="color:#323232;"> config = builtins.readFile *config_file_path*;\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;"> ...\n
</span><span style="color:#323232;"> ];\n
</span><span style="color:#323232;">};\n
</span>\n
```\n
\n
(my init.lua file is in the $HOME/.config/nvim folder)\n
\n
With that most of my plugins work. Most because few are troublesome. Let’s focus on three of them:\n
\n
1. I have pkgs.vimPlugins.nvim-comment installed but neovim reports that the command `CommentToggle` is not an editor command\n
2. I have pkgs.vimPlugins.nvim-treesitter installed but the command `TSInstall markdown` returns “could not create parser dir '/nix/store/…/nvim-treesitter/parser ': Vim:E739: read-only file system '”\n
3. I have pkgs.vimPlugins.mason-nvim and pkgs.vimPlugins.mason-lspconfig-nvim installed but runngin `checkhealth mason` returns few warnings:\n
\n
- mason.nvim is not the latest version (I use the unstable channel)\n
- pip: not available spawn: python3 failed with exit code 1 and signal 0. /run/current-system/sw/bin/python3: No module named pip (note that python3_host_prog and python3_host_prog pip are marked “OK”)\n
\n
Thanks again for your assistance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 11
+favouriteCount: 27
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728324831 {#2083
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2081 …}
+votes: Doctrine\ORM\PersistentCollection {#2091 …}
+reports: Doctrine\ORM\PersistentCollection {#2090 …}
+favourites: Doctrine\ORM\PersistentCollection {#2092 …}
+notifications: Doctrine\ORM\PersistentCollection {#2241 …}
+badges: Doctrine\ORM\PersistentCollection {#2130 …}
+children: [
App\Entity\EntryComment {#1744}
]
-id: 32711
-titleTs: "'neovim':2 'nixo':1 'plugin':3"
-bodyTs: "'/nix/store':160 '/nvim-treesitter/parser':161 '/run/current-system/sw/bin/python3':211 '0':210 '1':125,207 '2':143 '3':34,169 'anoth':54 'ask':21 'assist':233 'avail':200 'black':83 'builtins.readfile':94 'channel':197 'checkhealth':182 'code':206 'command':136,142,151 'comment':129 'commenttoggl':137 'communiti':4 'config':93,95 'configur':63 'could':155 'couldn':29 'creat':157 'day':35 'dir':159 'distro':17,55 'e739':163 'editor':141 'enabl':73 'exit':205 'extrapython3packages':77 'fail':203 'figur':31 'file':71,96,100,167 'first':13,38 'focus':120 'folder':105 'great':7 'hello':1 'help':9 'home.nix':70 'home/.config/nvim':104 'host':219,223 'import':48 'init.lua':99 'instal':130,148,179 'isort':84 'issu':27 'latest':191 'let':39,57,118 'll':20 'lspconfig':177 'lspconfig-nvim':176 'lua':92 'm':45 'mark':227 'markdown':153 'mason':183 'mason.nvim':187 'modul':213 'name':90,214 'neovim':25,51,64,132 'neovim-rel':24 'nixo':3 'note':216 'nvim':173,178 'ok':228 'parser':158 'path':97 'pip':198,215,225 'pkgs.vimplugins':87 'pkgs.vimplugins.mason':172,175 'pkgs.vimplugins.nvim':128,146 'plugin':85,88,89,111 'prog':220,224 'programs.neovim':72 'ps':78,80 'pynvim':81 'python3':202,218,222 'read':165 'read-on':164 'relat':26 'report':133 'return':154,184 'runngin':181 'search':37 'see':59 'setup':52 'signal':209 'spawn':201 'step':14 'system':168 'tell':41 'thank':229 'three':122 'treesitt':147 'tri':46 'troublesom':117 'true':74,76 'tsinstal':152 'type':91 'unidecod':82 'unstabl':196 'use':194 've':62 'version':192 'vim':162 'warn':186 'withpython3':75 'work':50,112"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706138811
+visibility: "visible "
+apId: "https://lemmy.ml/post/10954164"
+editedAt: DateTimeImmutable @1728109137 {#1735
date: 2024-10-05 08:18:57.0 +02:00
}
+createdAt: DateTimeImmutable @1706052411 {#1740
date: 2024-01-24 00:26:51.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: null
+root: null
+body: """
Not sure about 1, but 2 and 3 both have the same answer. Both TSInstall and Mason are just trying to install other software packages on your system, and you’re on NixOS, so of course they can’t do that. You don’t install your software, you declare it. Add the Treesitter parsers you need right next to your plugins (there is a sub collection under the vimPlugins collection just for Treesitter parsers), and put whatever Mason would be installing into your user packages instead.\n
\n
That said, I agree with the other commenter. Even though the community has done a lot of work on rich config options for Neovim, they’re just too far away from the normal way of doing things in the Neovim world, and plenty of plugins are written in ways that assume it’s configured in “normal” ways. Plus configuring Neovim is already kinda like assembling your own car from parts in any case, so it’s honestly better to just use nix to install Lazyvim or whatever flavor of choice and let it handle the plugin management/config. And believe me, I really tried to do it all in Nix, I wanted to do it that way. But it’s just not worth the headache at this point
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1728324831 {#1438
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#1585 …}
+nested: Doctrine\ORM\PersistentCollection {#1586 …}
+votes: Doctrine\ORM\PersistentCollection {#1575 …}
+reports: Doctrine\ORM\PersistentCollection {#1572 …}
+favourites: Doctrine\ORM\PersistentCollection {#1568 …}
+notifications: Doctrine\ORM\PersistentCollection {#1653 …}
-id: 335818
-bodyTs: "'1':4 '2':6 '3':8 'add':51 'agre':90 'alreadi':148 'answer':13 'assembl':151 'assum':137 'away':116 'believ':185 'better':164 'car':154 'case':159 'choic':176 'collect':66,70 'comment':94 'communiti':98 'config':107 'configur':140,145 'cours':36 'declar':49 'done':100 'even':95 'far':115 'flavor':174 'handl':180 'headach':210 'honest':163 'instal':22,45,81,170 'instead':86 'kinda':149 'lazyvim':171 'let':178 'like':150 'lot':102 'management/config':183 'mason':17,78 'need':56 'neovim':110,126,146 'next':58 'nix':168,195 'nixo':33 'normal':119,142 'option':108 'packag':25,85 'parser':54,74 'part':156 'plenti':129 'plugin':61,131,182 'plus':144 'point':213 'put':76 're':31,112 'realli':188 'rich':106 'right':57 'said':88 'softwar':24,47 'sub':65 'sure':2 'system':28 'thing':123 'though':96 'treesitt':53,73 'tri':20,189 'tsinstal':15 'use':167 'user':84 'vimplugin':69 'want':197 'way':120,135,143,202 'whatev':77,173 'work':104 'world':127 'worth':208 'would':79 'written':133"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6960591"
+editedAt: DateTimeImmutable @1728156939 {#1700
date: 2024-10-05 21:35:39.0 +02:00
}
+createdAt: DateTimeImmutable @1706066173 {#1694
date: 2024-01-24 04:16:13.0 +01:00
}
+"title": 335818
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#1744
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1584
+user: Proxies\__CG__\App\Entity\User {#1874 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "NixOS-neovim-plugins"
+title: "NixOS - neovim plugins"
+url: null
+body: """
Hello,\n
\n
The NixOS community has been great in helping me with my first steps in this distro. So I’ll ask again few neovim-related issues I couldn’t figure out after 3 days of search.\n
\n
First, let me tell you that I’m trying to import a working neovim setup from another distro. Then let’s see how I’ve configured neovim. I have this in my home.nix file:\n
\n
```\n
\n
<span style="color:#323232;">programs.neovim = {\n
</span><span style="color:#323232;"> enable = true;\n
</span><span style="color:#323232;"> withPython3 = true;\n
</span><span style="color:#323232;"> extraPython3Packages = (ps: with ps; [\n
</span><span style="color:#323232;"> pynvim\n
</span><span style="color:#323232;"> unidecode\n
</span><span style="color:#323232;"> black\n
</span><span style="color:#323232;"> isort\n
</span><span style="color:#323232;"> ]);\n
</span><span style="color:#323232;"> plugins = with pkgs.vimPlugins; [\n
</span><span style="color:#323232;"> { plugin = *plugin_name*;\n
</span><span style="color:#323232;"> type = "lua";\n
</span><span style="color:#323232;"> config = builtins.readFile *config_file_path*;\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;"> ...\n
</span><span style="color:#323232;"> ];\n
</span><span style="color:#323232;">};\n
</span>\n
```\n
\n
(my init.lua file is in the $HOME/.config/nvim folder)\n
\n
With that most of my plugins work. Most because few are troublesome. Let’s focus on three of them:\n
\n
1. I have pkgs.vimPlugins.nvim-comment installed but neovim reports that the command `CommentToggle` is not an editor command\n
2. I have pkgs.vimPlugins.nvim-treesitter installed but the command `TSInstall markdown` returns “could not create parser dir '/nix/store/…/nvim-treesitter/parser ': Vim:E739: read-only file system '”\n
3. I have pkgs.vimPlugins.mason-nvim and pkgs.vimPlugins.mason-lspconfig-nvim installed but runngin `checkhealth mason` returns few warnings:\n
\n
- mason.nvim is not the latest version (I use the unstable channel)\n
- pip: not available spawn: python3 failed with exit code 1 and signal 0. /run/current-system/sw/bin/python3: No module named pip (note that python3_host_prog and python3_host_prog pip are marked “OK”)\n
\n
Thanks again for your assistance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 11
+favouriteCount: 27
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728324831 {#2083
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2081 …}
+votes: Doctrine\ORM\PersistentCollection {#2091 …}
+reports: Doctrine\ORM\PersistentCollection {#2090 …}
+favourites: Doctrine\ORM\PersistentCollection {#2092 …}
+notifications: Doctrine\ORM\PersistentCollection {#2241 …}
+badges: Doctrine\ORM\PersistentCollection {#2130 …}
+children: [
App\Entity\EntryComment {#1744}
]
-id: 32711
-titleTs: "'neovim':2 'nixo':1 'plugin':3"
-bodyTs: "'/nix/store':160 '/nvim-treesitter/parser':161 '/run/current-system/sw/bin/python3':211 '0':210 '1':125,207 '2':143 '3':34,169 'anoth':54 'ask':21 'assist':233 'avail':200 'black':83 'builtins.readfile':94 'channel':197 'checkhealth':182 'code':206 'command':136,142,151 'comment':129 'commenttoggl':137 'communiti':4 'config':93,95 'configur':63 'could':155 'couldn':29 'creat':157 'day':35 'dir':159 'distro':17,55 'e739':163 'editor':141 'enabl':73 'exit':205 'extrapython3packages':77 'fail':203 'figur':31 'file':71,96,100,167 'first':13,38 'focus':120 'folder':105 'great':7 'hello':1 'help':9 'home.nix':70 'home/.config/nvim':104 'host':219,223 'import':48 'init.lua':99 'instal':130,148,179 'isort':84 'issu':27 'latest':191 'let':39,57,118 'll':20 'lspconfig':177 'lspconfig-nvim':176 'lua':92 'm':45 'mark':227 'markdown':153 'mason':183 'mason.nvim':187 'modul':213 'name':90,214 'neovim':25,51,64,132 'neovim-rel':24 'nixo':3 'note':216 'nvim':173,178 'ok':228 'parser':158 'path':97 'pip':198,215,225 'pkgs.vimplugins':87 'pkgs.vimplugins.mason':172,175 'pkgs.vimplugins.nvim':128,146 'plugin':85,88,89,111 'prog':220,224 'programs.neovim':72 'ps':78,80 'pynvim':81 'python3':202,218,222 'read':165 'read-on':164 'relat':26 'report':133 'return':154,184 'runngin':181 'search':37 'see':59 'setup':52 'signal':209 'spawn':201 'step':14 'system':168 'tell':41 'thank':229 'three':122 'treesitt':147 'tri':46 'troublesom':117 'true':74,76 'tsinstal':152 'type':91 'unidecod':82 'unstabl':196 'use':194 've':62 'version':192 'vim':162 'warn':186 'withpython3':75 'work':50,112"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706138811
+visibility: "visible "
+apId: "https://lemmy.ml/post/10954164"
+editedAt: DateTimeImmutable @1728109137 {#1735
date: 2024-10-05 08:18:57.0 +02:00
}
+createdAt: DateTimeImmutable @1706052411 {#1740
date: 2024-01-24 00:26:51.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: null
+root: null
+body: """
Not sure about 1, but 2 and 3 both have the same answer. Both TSInstall and Mason are just trying to install other software packages on your system, and you’re on NixOS, so of course they can’t do that. You don’t install your software, you declare it. Add the Treesitter parsers you need right next to your plugins (there is a sub collection under the vimPlugins collection just for Treesitter parsers), and put whatever Mason would be installing into your user packages instead.\n
\n
That said, I agree with the other commenter. Even though the community has done a lot of work on rich config options for Neovim, they’re just too far away from the normal way of doing things in the Neovim world, and plenty of plugins are written in ways that assume it’s configured in “normal” ways. Plus configuring Neovim is already kinda like assembling your own car from parts in any case, so it’s honestly better to just use nix to install Lazyvim or whatever flavor of choice and let it handle the plugin management/config. And believe me, I really tried to do it all in Nix, I wanted to do it that way. But it’s just not worth the headache at this point
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1728324831 {#1438
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#1585 …}
+nested: Doctrine\ORM\PersistentCollection {#1586 …}
+votes: Doctrine\ORM\PersistentCollection {#1575 …}
+reports: Doctrine\ORM\PersistentCollection {#1572 …}
+favourites: Doctrine\ORM\PersistentCollection {#1568 …}
+notifications: Doctrine\ORM\PersistentCollection {#1653 …}
-id: 335818
-bodyTs: "'1':4 '2':6 '3':8 'add':51 'agre':90 'alreadi':148 'answer':13 'assembl':151 'assum':137 'away':116 'believ':185 'better':164 'car':154 'case':159 'choic':176 'collect':66,70 'comment':94 'communiti':98 'config':107 'configur':140,145 'cours':36 'declar':49 'done':100 'even':95 'far':115 'flavor':174 'handl':180 'headach':210 'honest':163 'instal':22,45,81,170 'instead':86 'kinda':149 'lazyvim':171 'let':178 'like':150 'lot':102 'management/config':183 'mason':17,78 'need':56 'neovim':110,126,146 'next':58 'nix':168,195 'nixo':33 'normal':119,142 'option':108 'packag':25,85 'parser':54,74 'part':156 'plenti':129 'plugin':61,131,182 'plus':144 'point':213 'put':76 're':31,112 'realli':188 'rich':106 'right':57 'said':88 'softwar':24,47 'sub':65 'sure':2 'system':28 'thing':123 'though':96 'treesitt':53,73 'tri':20,189 'tsinstal':15 'use':167 'user':84 'vimplugin':69 'want':197 'way':120,135,143,202 'whatev':77,173 'work':104 'world':127 'worth':208 'would':79 'written':133"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6960591"
+editedAt: DateTimeImmutable @1728156939 {#1700
date: 2024-10-05 21:35:39.0 +02:00
}
+createdAt: DateTimeImmutable @1706066173 {#1694
date: 2024-01-24 04:16:13.0 +01:00
}
+"title": 335818
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1744
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1584
+user: Proxies\__CG__\App\Entity\User {#1874 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "NixOS-neovim-plugins"
+title: "NixOS - neovim plugins"
+url: null
+body: """
Hello,\n
\n
The NixOS community has been great in helping me with my first steps in this distro. So I’ll ask again few neovim-related issues I couldn’t figure out after 3 days of search.\n
\n
First, let me tell you that I’m trying to import a working neovim setup from another distro. Then let’s see how I’ve configured neovim. I have this in my home.nix file:\n
\n
```\n
\n
<span style="color:#323232;">programs.neovim = {\n
</span><span style="color:#323232;"> enable = true;\n
</span><span style="color:#323232;"> withPython3 = true;\n
</span><span style="color:#323232;"> extraPython3Packages = (ps: with ps; [\n
</span><span style="color:#323232;"> pynvim\n
</span><span style="color:#323232;"> unidecode\n
</span><span style="color:#323232;"> black\n
</span><span style="color:#323232;"> isort\n
</span><span style="color:#323232;"> ]);\n
</span><span style="color:#323232;"> plugins = with pkgs.vimPlugins; [\n
</span><span style="color:#323232;"> { plugin = *plugin_name*;\n
</span><span style="color:#323232;"> type = "lua";\n
</span><span style="color:#323232;"> config = builtins.readFile *config_file_path*;\n
</span><span style="color:#323232;"> }\n
</span><span style="color:#323232;"> ...\n
</span><span style="color:#323232;"> ];\n
</span><span style="color:#323232;">};\n
</span>\n
```\n
\n
(my init.lua file is in the $HOME/.config/nvim folder)\n
\n
With that most of my plugins work. Most because few are troublesome. Let’s focus on three of them:\n
\n
1. I have pkgs.vimPlugins.nvim-comment installed but neovim reports that the command `CommentToggle` is not an editor command\n
2. I have pkgs.vimPlugins.nvim-treesitter installed but the command `TSInstall markdown` returns “could not create parser dir '/nix/store/…/nvim-treesitter/parser ': Vim:E739: read-only file system '”\n
3. I have pkgs.vimPlugins.mason-nvim and pkgs.vimPlugins.mason-lspconfig-nvim installed but runngin `checkhealth mason` returns few warnings:\n
\n
- mason.nvim is not the latest version (I use the unstable channel)\n
- pip: not available spawn: python3 failed with exit code 1 and signal 0. /run/current-system/sw/bin/python3: No module named pip (note that python3_host_prog and python3_host_prog pip are marked “OK”)\n
\n
Thanks again for your assistance.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 11
+favouriteCount: 27
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728324831 {#2083
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2081 …}
+votes: Doctrine\ORM\PersistentCollection {#2091 …}
+reports: Doctrine\ORM\PersistentCollection {#2090 …}
+favourites: Doctrine\ORM\PersistentCollection {#2092 …}
+notifications: Doctrine\ORM\PersistentCollection {#2241 …}
+badges: Doctrine\ORM\PersistentCollection {#2130 …}
+children: [
App\Entity\EntryComment {#1744}
]
-id: 32711
-titleTs: "'neovim':2 'nixo':1 'plugin':3"
-bodyTs: "'/nix/store':160 '/nvim-treesitter/parser':161 '/run/current-system/sw/bin/python3':211 '0':210 '1':125,207 '2':143 '3':34,169 'anoth':54 'ask':21 'assist':233 'avail':200 'black':83 'builtins.readfile':94 'channel':197 'checkhealth':182 'code':206 'command':136,142,151 'comment':129 'commenttoggl':137 'communiti':4 'config':93,95 'configur':63 'could':155 'couldn':29 'creat':157 'day':35 'dir':159 'distro':17,55 'e739':163 'editor':141 'enabl':73 'exit':205 'extrapython3packages':77 'fail':203 'figur':31 'file':71,96,100,167 'first':13,38 'focus':120 'folder':105 'great':7 'hello':1 'help':9 'home.nix':70 'home/.config/nvim':104 'host':219,223 'import':48 'init.lua':99 'instal':130,148,179 'isort':84 'issu':27 'latest':191 'let':39,57,118 'll':20 'lspconfig':177 'lspconfig-nvim':176 'lua':92 'm':45 'mark':227 'markdown':153 'mason':183 'mason.nvim':187 'modul':213 'name':90,214 'neovim':25,51,64,132 'neovim-rel':24 'nixo':3 'note':216 'nvim':173,178 'ok':228 'parser':158 'path':97 'pip':198,215,225 'pkgs.vimplugins':87 'pkgs.vimplugins.mason':172,175 'pkgs.vimplugins.nvim':128,146 'plugin':85,88,89,111 'prog':220,224 'programs.neovim':72 'ps':78,80 'pynvim':81 'python3':202,218,222 'read':165 'read-on':164 'relat':26 'report':133 'return':154,184 'runngin':181 'search':37 'see':59 'setup':52 'signal':209 'spawn':201 'step':14 'system':168 'tell':41 'thank':229 'three':122 'treesitt':147 'tri':46 'troublesom':117 'true':74,76 'tsinstal':152 'type':91 'unidecod':82 'unstabl':196 'use':194 've':62 'version':192 'vim':162 'warn':186 'withpython3':75 'work':50,112"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706138811
+visibility: "visible "
+apId: "https://lemmy.ml/post/10954164"
+editedAt: DateTimeImmutable @1728109137 {#1735
date: 2024-10-05 08:18:57.0 +02:00
}
+createdAt: DateTimeImmutable @1706052411 {#1740
date: 2024-01-24 00:26:51.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: null
+root: null
+body: """
Not sure about 1, but 2 and 3 both have the same answer. Both TSInstall and Mason are just trying to install other software packages on your system, and you’re on NixOS, so of course they can’t do that. You don’t install your software, you declare it. Add the Treesitter parsers you need right next to your plugins (there is a sub collection under the vimPlugins collection just for Treesitter parsers), and put whatever Mason would be installing into your user packages instead.\n
\n
That said, I agree with the other commenter. Even though the community has done a lot of work on rich config options for Neovim, they’re just too far away from the normal way of doing things in the Neovim world, and plenty of plugins are written in ways that assume it’s configured in “normal” ways. Plus configuring Neovim is already kinda like assembling your own car from parts in any case, so it’s honestly better to just use nix to install Lazyvim or whatever flavor of choice and let it handle the plugin management/config. And believe me, I really tried to do it all in Nix, I wanted to do it that way. But it’s just not worth the headache at this point
"""
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1728324831 {#1438
date: 2024-10-07 20:13:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
"@wwwgem@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#1585 …}
+nested: Doctrine\ORM\PersistentCollection {#1586 …}
+votes: Doctrine\ORM\PersistentCollection {#1575 …}
+reports: Doctrine\ORM\PersistentCollection {#1572 …}
+favourites: Doctrine\ORM\PersistentCollection {#1568 …}
+notifications: Doctrine\ORM\PersistentCollection {#1653 …}
-id: 335818
-bodyTs: "'1':4 '2':6 '3':8 'add':51 'agre':90 'alreadi':148 'answer':13 'assembl':151 'assum':137 'away':116 'believ':185 'better':164 'car':154 'case':159 'choic':176 'collect':66,70 'comment':94 'communiti':98 'config':107 'configur':140,145 'cours':36 'declar':49 'done':100 'even':95 'far':115 'flavor':174 'handl':180 'headach':210 'honest':163 'instal':22,45,81,170 'instead':86 'kinda':149 'lazyvim':171 'let':178 'like':150 'lot':102 'management/config':183 'mason':17,78 'need':56 'neovim':110,126,146 'next':58 'nix':168,195 'nixo':33 'normal':119,142 'option':108 'packag':25,85 'parser':54,74 'part':156 'plenti':129 'plugin':61,131,182 'plus':144 'point':213 'put':76 're':31,112 'realli':188 'rich':106 'right':57 'said':88 'softwar':24,47 'sub':65 'sure':2 'system':28 'thing':123 'though':96 'treesitt':53,73 'tri':20,189 'tsinstal':15 'use':167 'user':84 'vimplugin':69 'want':197 'way':120,135,143,202 'whatev':77,173 'work':104 'world':127 'worth':208 'would':79 'written':133"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6960591"
+editedAt: DateTimeImmutable @1728156939 {#1700
date: 2024-10-05 21:35:39.0 +02:00
}
+createdAt: DateTimeImmutable @1706066173 {#1694
date: 2024-01-24 04:16:13.0 +01:00
}
+"title": 335818
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
}
0 => App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
}
0 => App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
}
0 => App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702}
0 => App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702}
0 => App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702}
0 => App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
}
0 => App\Entity\EntryComment {#1564}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
}
0 => App\Entity\EntryComment {#1564}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1564
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559
+user: Proxies\__CG__\App\Entity\User {#1724 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1385 …}
+slug: "Does-Nix-s-break-from-FHS-cause-problems"
+title: "Does Nix's break from FHS cause problems?"
+url: null
+body: """
I know that a lot of what Nix does is working around its break from FHS, but I can imagine there are still things that seep through. Are there any unsolvable problems due to this?\n
\n
I saw [on this post](https://jorel.dev/NixOS4Noobs/fhs.html) that it is possible to use FHS on Nix. Does this solve all potential issues then?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 24
+favouriteCount: 34
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1728934510 {#1725
date: 2024-10-14 21:35:10.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2395 …}
+votes: Doctrine\ORM\PersistentCollection {#2392 …}
+reports: Doctrine\ORM\PersistentCollection {#1405 …}
+favourites: Doctrine\ORM\PersistentCollection {#2036 …}
+notifications: Doctrine\ORM\PersistentCollection {#2013 …}
+badges: Doctrine\ORM\PersistentCollection {#2096 …}
+children: [
1 => App\Entity\EntryComment {#1702
+user: App\Entity\User {#261 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1559 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1619 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: """
Now you’ll have a zillion users trying to install software in ways that violate all the assumptions that NixOS operates on, but which are still tightly coupled to your NixOS config. Now updates to your system, or even seemingly unrelated config changes (through some transitive dependency chain) can easily break that software.\n
\n
So now we’ve basically removed half the advantages that motivate Nix/OS in the first place, and when stuff breaks it will look like it’s Nix’s fault, even if it isn’t.\n
\n
On the other hand, nixpkgs is already the most comprehensive repository of system software out there, and for 99% of packages Nixifying it is pretty trivial. Hell, my NixOS config does that for 3 different GitHub repos right inline in my config.nix
"""
+lang: "en"
+isAdult: false
+favouriteCount: 6
+score: 0
+lastActive: DateTime @1706226231 {#1687
date: 2024-01-26 00:43:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
"@palebluethought@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1596 …}
+nested: Doctrine\ORM\PersistentCollection {#1613 …}
+votes: Doctrine\ORM\PersistentCollection {#1621 …}
+reports: Doctrine\ORM\PersistentCollection {#1557 …}
+favourites: Doctrine\ORM\PersistentCollection {#1558 …}
+notifications: Doctrine\ORM\PersistentCollection {#1565 …}
-id: 340765
-bodyTs: "'3':121 '99':106 'advantag':62 'alreadi':94 'assumpt':18 'basic':58 'break':51,73 'chain':48 'chang':43 'comprehens':97 'config':32,42,117 'config.nix':129 'coupl':28 'depend':47 'differ':122 'easili':50 'even':39,83 'fault':82 'first':68 'github':123 'half':60 'hand':91 'hell':114 'inlin':126 'instal':10 'isn':86 'like':77 'll':3 'look':76 'motiv':64 'nix':80 'nix/os':65 'nixifi':109 'nixo':20,31,116 'nixpkg':92 'oper':21 'packag':108 'place':69 'pretti':112 'remov':59 'repo':124 'repositori':98 'right':125 'seem':40 'softwar':11,53,101 'still':26 'stuff':72 'system':37,100 'tight':27 'transit':46 'tri':8 'trivial':113 'unrel':41 'updat':34 'user':7 've':57 'violat':15 'way':13 'zillion':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7014409"
+editedAt: DateTimeImmutable @1728692787 {#1683
date: 2024-10-12 02:26:27.0 +02:00
}
+createdAt: DateTimeImmutable @1706226231 {#1701
date: 2024-01-26 00:43:51.0 +01:00
}
+"title": 340765
}
0 => App\Entity\EntryComment {#1564}
]
-id: 33062
-titleTs: "'break':4 'caus':7 'fhs':6 'nix':2 'problem':8"
-bodyTs: "'/nixos4noobs/fhs.html)':43 'around':12 'break':14 'due':33 'fhs':16,50 'imagin':20 'issu':58 'jorel.dev':42 'jorel.dev/nixos4noobs/fhs.html)':41 'know':2 'lot':5 'nix':8,52 'possibl':47 'post':40 'potenti':57 'problem':32 'saw':37 'seep':26 'solv':55 'still':23 'thing':24 'unsolv':31 'use':49 'work':11"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1706299964
+visibility: "visible "
+apId: "https://lemy.lol/post/18607493"
+editedAt: null
+createdAt: DateTimeImmutable @1706213564 {#1719
date: 2024-01-25 21:12:44.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1576 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1626 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1628 …}
+body: "If your system uses 3 different Pythons as dependencies of different packages, which one gets to be /usr/bin/python?"
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1706223602 {#1650
date: 2024-01-26 00:00:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@matcha_addict@lemy.lol"
"@Lojcs@lemm.ee"
"@madmaurice@discuss.tchncs.de"
]
+children: Doctrine\ORM\PersistentCollection {#1630 …}
+nested: Doctrine\ORM\PersistentCollection {#1611 …}
+votes: Doctrine\ORM\PersistentCollection {#1711 …}
+reports: Doctrine\ORM\PersistentCollection {#1795 …}
+favourites: Doctrine\ORM\PersistentCollection {#1691 …}
+notifications: Doctrine\ORM\PersistentCollection {#1689 …}
-id: 340679
-bodyTs: "'/usr/bin/python':18 '3':5 'depend':9 'differ':6,11 'get':15 'one':14 'packag':12 'python':7 'system':3 'use':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/7013298"
+editedAt: null
+createdAt: DateTimeImmutable @1706223602 {#1548
date: 2024-01-26 00:00:02.0 +01:00
}
+"title": 340679
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_ADMIN
|
null |
|
Show voter details
|
22 |
DENIED
|
ROLE_MODERATOR
|
null |
|
Show voter details
|