02:53
orivej has quit [Ping timeout: 256 seconds]
07:02
orivej has joined #nixos-wiki
08:06
orivej has quit [Ping timeout: 256 seconds]
08:20
lexcurious has joined #nixos-wiki
08:52
orivej has joined #nixos-wiki
11:27
joepie91 is now known as z
11:27
z is now known as joepie91
12:18
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
12:21
infinisil has joined #nixos-wiki
12:26
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
12:26
infinisil has joined #nixos-wiki
12:29
infinisil has quit [Client Quit]
12:30
infinisil has joined #nixos-wiki
12:32
infinisil has quit [Client Quit]
12:33
infinisil has joined #nixos-wiki
13:58
orivej has quit [Ping timeout: 240 seconds]
13:58
<
nixoswikibot >
[[Phpfpm]] N
https://nixos.wiki/index.php?oldid=1968&rcid=1994 * Makefu * (+1636) Created page with "php-fpm is a fastcgi interface for php. == Configuration for nginx== This configuration will set up phpfpm for serving php files from <code>/var/www/example.com</code>. put i..."
14:00
orivej has joined #nixos-wiki
14:09
orivej has quit [Ping timeout: 245 seconds]
14:09
orivej has joined #nixos-wiki
16:24
lassulus has quit [*.net *.split]
16:30
lassulus has joined #nixos-wiki
16:30
lassulus has quit [Changing host]
16:30
lassulus has joined #nixos-wiki
17:14
orivej has quit [Ping timeout: 240 seconds]
17:25
lexcurious has quit [Ping timeout: 260 seconds]
17:47
Mic92 has quit [Ping timeout: 256 seconds]
17:54
orivej has joined #nixos-wiki
18:05
Mic92 has joined #nixos-wiki
18:07
<
Mic92 >
we need a NUR
18:08
<
Mic92 >
nur.nixos.org looks like a funny url
18:09
<
Mic92 >
Something like a pastebin with accounts.
18:19
orivej has quit [Ping timeout: 256 seconds]
18:19
orivej has joined #nixos-wiki
18:28
<
makefu >
like aur? yes that would be nice
18:29
<
makefu >
we currently have a list of other peoples config and overlays
18:30
<
makefu >
maybe we could fetch these different overlays and index the provided packages
18:30
<
makefu >
that might be a fun project
18:30
<
samueldr >
a nixos-users "conventional" way to make overlays?
18:30
<
samueldr >
(with easy-to-digest documentation on how to use for new users)
18:31
<
makefu >
there is a good presentation about overlays from the last nixos convention
18:31
<
makefu >
essentially it is:
18:31
<
makefu >
self: super:
18:31
<
makefu >
{ lol = callPackage ./lol.nix }
18:32
<
makefu >
s/call/self.&/
18:32
<
Reaktor|krebs >
makefu meant: { lol = self.callPackage ./lol.nix }
18:32
<
samueldr >
the documentation part, for me (months ago) was that I didn't have enough knowledge of nix to know
*how* to use them
18:32
<
samueldr >
I knew how to make them, but not where they should be placed
18:33
<
makefu >
nobody knows when to use self and when to use super ...
18:33
<
samueldr >
makefu: that too, better documented, will help
18:33
<
tv >
makefu: of course, if you hit infinite recursion, you take super ;)
18:35
<
makefu >
that is easy :D
18:36
<
Mic92 >
makefu: there is upstream documentation for overlays now.
18:36
<
makefu >
yep, tv just linked to it
18:36
<
makefu >
and the docs are quite good
18:37
<
Mic92 >
but we need a way to register names for discoverability.
18:37
<
Mic92 >
the source can be somewhere else
18:38
<
Mic92 >
and a cli to add and remove overlays with one command
18:38
<
Mic92 >
and also to update them
18:38
<
Mic92 >
something like ppa
18:38
<
samueldr >
so e.g. I have a linux-cherrytrail overlay, knowing it's a "NUR", it can be referred to with a globally unique name
18:38
<
samueldr >
that's interesting
18:39
<
makefu >
i like the idea
18:39
<
makefu >
in stockholm alone we have 4 overlays
18:40
<
makefu >
in my overlay i have 42 packages
18:41
<
Mic92 >
NUR itself could be a meta-repo or channel, where people can register there overlays
18:42
<
makefu >
simply an overlay of overlays
18:42
<
makefu >
but you have to be aware of the security implications :D
18:42
<
Mic92 >
like always
18:42
<
makefu >
an overlay could override callPackage for example
18:43
<
tv >
super.callPackage
18:43
<
Mic92 >
The user must agree to use a specific overlay
18:43
<
Mic92 >
otherwise it is not pulled at all
18:44
<
Mic92 >
fetchgit make the thing interesting
18:44
<
makefu >
maybe we could provide a way to show which packages are contained and which are overridden
18:45
<
Mic92 >
diffing should be easy
18:45
<
Mic92 >
just show, what packages are added.
18:45
<
Mic92 >
over master
18:45
<
Mic92 >
the only problem is, if you multiple malicious overlays
18:53
<
Mic92 >
unlike overlays can also lock on nixpkgs commits
18:53
<
Mic92 >
*unlike Ubuntu's ppas overlays can also lock on nixpkgs commits
18:53
<
Mic92 >
We can move broken packages there.
18:54
<
Mic92 >
locked on the last working state.
18:55
<
Mic92 >
this is going to better then AUR.
18:55
<
makefu >
maybe we could also provide meta information like a link to their hydra and binary cache
18:55
<
makefu >
or contact
18:55
<
Mic92 >
yes, we should have contact information or a notification channel
18:56
<
Mic92 >
something public would be good
18:56
<
Mic92 >
to make it transparent
18:56
<
Mic92 >
Do we need a way to transfer unmaintained repos maybe?
18:57
<
Mic92 >
binary cache cannot be limited to an overlay though.
18:58
jtojnar has joined #nixos-wiki
18:59
sphalerite_ has joined #nixos-wiki
18:59
<
Mic92 >
jtojnar: how does triton work?
19:00
<
jtojnar >
just like nixpkgs
19:00
<
jtojnar >
only their repo structure is saner
19:00
BlessJah has joined #nixos-wiki
19:00
<
Mic92 >
we have the opportunity to make it right this time
19:01
<
Mic92 >
We should have dependencies between overlays.
19:01
sphalerite is now known as sphalerit
19:01
<
Mic92 >
Because that's the point of them
19:04
<
jtojnar >
I was imagining just a single attribute set with bot controlled merges
19:05
sphalerite_ is now known as sphalerite
19:05
<
jtojnar >
but I guess we can go crazy with this
19:05
<
Mic92 >
then we have conflicts again
19:05
<
Mic92 >
let's say somebody does not like pulseaudio
19:06
<
Mic92 >
and that guy builds an overlay to disable it everywhere.
19:06
<
Mic92 >
NUR would check the evaluation of each overlay and only update them, if they do.
19:06
<
makefu >
maybe we could have a warning if it overrides upstream packages
19:09
<
samueldr >
then what if I want to use this guy's overlay?
19:10
<
samueldr >
(though this case is a bit out of scope of such overlays, probably)
19:10
<
samueldr >
or e.g., use patched upstream software, e.g. gnome and qt with menubars active
19:11
<
samueldr >
(maybe I'm forgetting something obvious here)
19:13
<
samueldr >
I'm thinking along the lines of getting a "managed" overlay for ubuntu-patched software, including the libraries
19:13
<
Mic92 >
not sure yet about ui
19:21
<
jtojnar >
would wiki be a good place for comparison of nix 2.0 commands?
19:21
<
jtojnar >
e.g. nix-build -A foo → nix build -f . foo
19:24
<
Mic92 >
jtojnar: yes
19:24
<
Mic92 >
or make a new cheatsheet and we move the old one to legacy
19:25
sphalerit has left #nixos-wiki ["User left"]
19:49
orivej has quit [Ping timeout: 240 seconds]
20:55
orivej has joined #nixos-wiki
21:39
orivej has quit [Ping timeout: 245 seconds]
21:53
<
makefu >
these redirects are just for me, i never can find the overlay and module article
21:53
orivej has joined #nixos-wiki
21:55
<
samueldr >
that's alright, redirecting in those ways is extra helpful
22:26
orivej has quit [Ping timeout: 240 seconds]
22:44
orivej has joined #nixos-wiki
23:18
jtojnar has quit [Quit: jtojnar]
23:19
jtojnar has joined #nixos-wiki
23:48
jtojnar has quit [Read error: Connection reset by peer]
23:49
jtojnar has joined #nixos-wiki