Sinthoras39@discuss.tchncs.de to linuxmemes@lemmy.worldEnglish · edit-21 year agoBtw i use *nixmessage-squaremessage-square5fedilinkarrow-up12arrow-down10file-text
arrow-up12arrow-down1message-squareBtw i use *nixSinthoras39@discuss.tchncs.de to linuxmemes@lemmy.worldEnglish · edit-21 year agomessage-square5fedilinkfile-text
minus-squareKogasa@programming.devlinkfedilinkEnglisharrow-up1·edit-21 year agoIsn’t it immutable? That’s a pretty big difference in itself edit: Thank you for the replies, I’ll have to learn more!
minus-squareazvasKvklenko@sh.itjust.workslinkfedilinkEnglisharrow-up0·1 year agoit sort of is. The whole thing is made of what’s in /nix and it sets read-only attributes to all of it. You can modify it however you like by simply rebuilding it with updated configuration and you can switch at runtime or reboot.
minus-squareSomeOtherUsername@lemmynsfw.comlinkfedilinkEnglisharrow-up0·1 year agoHow does stuff that’s not made specifically for nix discover it? E.g. how would gcc find the libraries it needs in /nix?
minus-squareMatúš Maštena @lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoEverything is in the /nix/store directory, which is then symlinked to the normal GNU/Linux FS.
Isn’t it immutable? That’s a pretty big difference in itself
edit: Thank you for the replies, I’ll have to learn more!
it sort of is. The whole thing is made of what’s in /nix and it sets read-only attributes to all of it. You can modify it however you like by simply rebuilding it with updated configuration and you can switch at runtime or reboot.
How does stuff that’s not made specifically for nix discover it? E.g. how would gcc find the libraries it needs in /nix?
Everything is in the /nix/store directory, which is then symlinked to the normal GNU/Linux FS.