<samueldr>
or, if you remember the bootloader splash, on legacy, it has a purple background, on UEFI it has a black background
jmeredith has quit [Quit: Connection closed for inactivity]
hakujin has joined #nixos
<srid>
cool, let me try those instructios above
detran has joined #nixos
<samueldr>
if you're creating an additional ESP, know that results may vary, depending on the UEFI implementation, and with windows installation compatibility down the road https://superuser.com/a/688758
<samueldr>
(on a single disk)
<srid>
w00t! worked!
* srid
set the root password
<samueldr>
please share, so we can help ;)
<samueldr>
(don't!)
<srid>
hunter2
<srid>
you see *** right? :P
<samueldr>
:)
<srid>
samueldr: thanks a bunch, appreciate the prompt help!
<samueldr>
you're welcome
hakujin has quit [Ping timeout: 240 seconds]
<samueldr>
I'm trying to prompt myself to review the installation notes for the partition schemes for nixos
<samueldr>
as you're not the first one I see having similar issues
pmahoney has quit [Ping timeout: 248 seconds]
hakujin has joined #nixos
coot has joined #nixos
detran has quit [Ping timeout: 256 seconds]
SOO7 has quit [Ping timeout: 256 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
detran has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
kreetx has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 240 seconds]
schoppenhauer has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
SOO7 has joined #nixos
schoppenhauer has joined #nixos
detran has joined #nixos
fyuuri has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 256 seconds]
digitus has quit [Quit: digitus]
hakujin has quit [Ping timeout: 276 seconds]
detran has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
detran has quit [Ping timeout: 276 seconds]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vNAVN
<NixOS_GitHub>
nixpkgs/staging 10c8e6d Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
<kini>
so I attempted to convert my single-user nix installation to a multi-user one, following the instructions at https://gist.github.com/expipiplus1/e571ce88c608a1e83547c918591b149f , and now things *mostly* work again, but trying to install anything results in "download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/<whatever>.narinfo’ after 5 seconds..."
<kini>
any idea what I could have borked? I'm behind a proxy, fwiw.
<kini>
$SSL_CERT_FILE, $https_proxy, $CURL_CA_BUNDLE are all set and exported
detran has joined #nixos
phdoerfler has quit [Quit: Leaving.]
<samueldr>
that message is shown by nix when the process downloading is... still waiting
<samueldr>
it sometimes happen here on a standard nixos install
<samueldr>
afaik, it can be for any network-related reasons that it happens
detran has quit [Ping timeout: 248 seconds]
<samueldr>
and until it fails, it's not an error
<kini>
I'm fairly sure it's not a network issue, because if I curl that same URL at the terminal it returns instantly
hakujin has joined #nixos
<kini>
I suspect that the download-from-binary-cache.pl script is not understanding that it needs to connect via a proxy, is all
<clever>
kini: are $SSL_CERT_FILE, $https_proxy, $CURL_CA_BUNDLE are all set and exported in the context of the nix-daemon?
<kini>
ah, maybe not? Hmm, what is the context of the nix-daemon...
<clever>
whatever process started nix-daemon
<kini>
systemd, since I followed the instructions in that gist
<kini>
ah, I see
<kini>
in the systemd service file I copied and pasted, there's a line saying "Environment=SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt"
<kini>
evidently I need to also include environment variables specifying my proxy
<clever>
yeah
<kini>
great, thanks clever :) I'll give this a try
<clever>
nix-daemon is the one responsible for doing the downloads
<clever>
so it ignores the vars set on nix-env
<kini>
yeah, makes sense
<kini>
lol, trying to use pretty much any network-connected software becomes a pain when I'm stuck behind this proxy... I wish it was a transparent proxy
detran has joined #nixos
<clever>
captive portals are an equal pain in the ass
justanotheruser has quit [Quit: WeeChat 1.9.1]
<kini>
(I suppose I could set up some kind of thing on my machine at a lower level which tunnels all traffic through the proxy, but I have to use machines I don't have root access to here as well, so it would be a pain to deal with different setups on different machines...)
<kini>
(oh well)
hakujin has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
<lord|>
how nicely does the nix package manager cooperate with other distros
<lord|>
well I guess it won't cooperate at all
<simpson>
lord|: Single-user Nix is a thing, and it works on many distros.
<lord|>
but are there any major problems with running the package manager on other distros
<simpson>
You'll only have it installed for a single non-root user.
<clever>
lord|: opengl and things needing kernel stuff are the only issues
<lord|>
the script installed /nix and ~/.nix-profile for me
iyzsong has quit [Ping timeout: 256 seconds]
<clever>
lord|: so you cant just install the nix variant of virtualbox
<clever>
pretty much everything else should just work though
<lord|>
simpson: is there a way to use the install script to install without any root access
<lord|>
curious because I ended up with /nix and ~/.nix-profile
<lord|>
could I just delete /nix or something
<clever>
lord|: if you already have write access to /nix/, it wont ask for sudo
justanotheruser has joined #nixos
detran has quit [Ping timeout: 248 seconds]
<lord|>
what if you wanted to install it elsewhere though
<clever>
so root can just make you an empty /nix/ and chown it over, and then you can install without ever gaining root
<simpson>
lord|: That is possible, but you will not be able to use most cached binaries.
<clever>
lord|: there is also a script that uses mount namespaces to fake having /nix/
<lord|>
simpson: ah so it will work with no problems if I choose to compile all the packages locally?
<kini>
clever: excellent, adding $https_proxy to the systemd service worked
<kini>
thanks again :)
<clever>
yep
iyzsong has joined #nixos
<simpson>
lord|: Maybe. I've never tried it; I don't have the patience. (I say this as a former Gentoo hacker; doing this is *very* time-consuming.)
<lord|>
simpson: if only you could get 16 exact copies of your computer with the same CPU
<lord|>
then you could run a distcc cluster
<lord|>
and use gentoo 4 lyfe
<simpson>
NixOS is better than Gentoo, in my opinion; I made the switch.
<lord|>
but yeah gentoo is a pain in the ass unless you have a cluster building packages for you
detran has joined #nixos
<dhess>
ahh the good ole' days when you could type "make world" from the top of your, say, NetBSD src tree and get a whole new system, compiled from scratch, in about 8 hours. On an i486.
<clever>
i once ran linux from scratch on my router
<samueldr>
is it still going?
<clever>
it was an x86 machine with i think 128mb of ram
<dhess>
hehehehe
<clever>
i retired it when i upgraded to fiber
<clever>
600kbyte/sec would tax the cpu at about 70%
<kini>
Hmm. Should I have both a "channels" and a "channels_root" symlink in my ~/.nix-defexpr ?
<dhess>
oh I thought samueldr meant the compile :)
<clever>
and it only had 100mbit cards
<samueldr>
I did mean the compile :)
<clever>
the new internet downloads at 300mbit
<dhess>
samueldr: high five
<clever>
the router would have become a bottleneck
<kini>
`nix-channel --update` seems to have created the "channels" one, and now `nix-env -u` says "warning: name collision in input Nix expressions"
taktoa has quit [Remote host closed the connection]
<clever>
samueldr: i have since put in a nixos router, with gigabit cards, and i idle in #nixos-on-your-router
Lisanna has quit [Quit: Lisanna]
<samueldr>
fancy, I idle there too :)
detran has quit [Ping timeout: 268 seconds]
<dhess>
clever: much traffic in there? That's something I would be interested in
<dhess>
a "NixWRT" would be interesting for my travel router, though.
<iqubic>
Is there a way to see all the possible fonts that I can chose from?
<iqubic>
Trying to debug a stea-run issue.
<iqubic>
(DROD_5_The_Second_Sky_v5.1.0.6513_Setup.run:21252): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
contrapumpkin is now known as BTC_Boar
BTC_Boar is now known as contrapumpkin
<dhess>
cool, I'll keep an eye on that telent.net blog
detran has joined #nixos
<srid>
> output path ‘/nix/store/x7jhzvcqwnmqwzwnd67xf87bmqvaarhp-nvidia-settings-381.22.tar.bz2’ has sha256 hash ‘1gls187zfd201b29qfvwvqvl5gvp5wl9lq966vd28crwqh174jrh’ when ‘0zyk1w4csq9nfhaakz8mivvml2vb5vd14c0dhj1z879inmg74fvf’ was expected
<srid>
Is something broken on the server with the nvidiaBeta package?
<elvishjerricco>
Is it just a list where I put extra systems?
detran has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
<dhess>
systems = [ "x86_64-linux" "i686-linux" ];
silver has quit [Read error: Connection reset by peer]
<elvishjerricco>
dhess: Oh I use that *in place* of the non-plural `system` attribute?
<dhess>
yeah
<elvishjerricco>
Cool. Thanks
<iqubic>
Anyone know how to address my font + steam run issues?
mmlb has quit [Read error: Connection reset by peer]
<dhess>
after you rebuild, your /etc/nix/machines line for that host should have something like this in it: x86_64-linux,i686-linux
mmlb has joined #nixos
<elvishjerricco>
dhess: Looks like Hydra sees the extra architecture there now. But the build is still "Scheduled" and not running
<elvishjerricco>
Oh no there it goes. Just took a sec :)
dbmikus has joined #nixos
<dhess>
yeah I have learned to be patient with Hydra and let it take its sweet old mystical time
hakujin has quit [Ping timeout: 276 seconds]
<dhess>
occasionally I get a stuck binary cache download and then I have to kill the job and restart, but that's about it
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vNA6q
<NixOS_GitHub>
nixpkgs/master 27a4a55 Peter Hoeg: terraform: 0.11.1 -> 0.11.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 15d33a4 Peter Hoeg: terragrunt: 0.13.23 -> 0.14.0
detran has joined #nixos
markus1189 has joined #nixos
markus1199 has quit [Ping timeout: 248 seconds]
detran has quit [Ping timeout: 252 seconds]
<iqubic>
I'd love help with my font issue. Why are people ignoring me?
mmlb has quit [Read error: Connection reset by peer]
leotaku has joined #nixos
Arcaelyx has joined #nixos
<dhess>
iqubic: I only run Linux on headless servers so I can't help you, I'm afraid.
thc202 has quit [Ping timeout: 256 seconds]
detran has joined #nixos
<lejonet>
iqubic: its kindof late in many parts too, and I just as dhess only run nixos on headless servers so I really don't know :/
<lejonet>
fonts are always tricky
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] samdroid-apps opened pull request #34546: Add presentation app Spice Up (master...add-spice-up) https://git.io/vNA6X
NixOS_GitHub has left #nixos [#nixos]
<leotaku>
could one of you please try opening gucharmap/gnome-character-map, then selecting "View/By Unicode Block" and report to me if it worked for them?
detran has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
detran has joined #nixos
d4g_ has joined #nixos
<kini>
MichaelRaskin: ok, so switching to a multi-user sandboxed setup has just broken things even further, it seems
<kini>
now when I run `quicklisp-to-nix .` in the lisp-modules directory, it immediately fails on the first package, 3bmd
<kini>
when I run `quicklisp-to-nix-system-info 3bmd`, it crashes when trying to run `nix-prefetch-url --print-path file:///run/user/1001/tmp.SKwtdbORLf/dists/quicklisp/archives/3bmd-20161204-git.tgz`
<kini>
and when I try to run THAT in the nix-shell, I get "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied"
d4g has quit [Ping timeout: 240 seconds]
erlandsona has joined #nixos
detran has quit [Ping timeout: 248 seconds]
mastrofrancesco has joined #nixos
detran has joined #nixos
leotaku has left #nixos ["WeeChat 2.0"]
<erlandsona>
Anyone here know where to add the thunderbolt package to setup support for thunderbolt devices on NixOS?
<bsima>
Where is the best info on how to setup a binary cache? I'd like to set one up for some private haskell projects
<erlandsona>
Do I just add it to environment.systemPackages?
<lejonet>
erlandsona: yeah, just add it to systempackages, that will install it so you can use it
coot has joined #nixos
detran has quit [Ping timeout: 256 seconds]
mastrofrancesco has quit [Read error: Connection reset by peer]
detran has joined #nixos
<clever>
2018-02-02 22:35:32 < kini> and when I try to run THAT in the nix-shell, I get "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied"
<clever>
kini: this error is caused by not setting `export NIX_REMOTE=daemon`
swayf has joined #nixos
<clever>
kini: you have to tell nix that its in multi-user mode now, and how to contact something that does have write
detran has quit [Ping timeout: 264 seconds]
dbmikus has quit [Quit: WeeChat 1.9.1]
dbmikus has joined #nixos
Supersonic112 has quit [Disconnected by services]
swayf has quit [Ping timeout: 265 seconds]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
detran has joined #nixos
<kini>
clever: I'll have to check again tomorrow morning when I go to work, but I think I already have that set. Maybe the issue is that the `nix-prefetch-url` program is "beyond" the point where the nix tool would normally delegate to the daemon? I.e. maybe I'm not supposed to be running that directly in a nix-shell as my own user?
<clever>
kini: nix-prefetch-url just downloads it with curl, then calls nix-store, which needs $NIX_REMOTE set right
xcmw has joined #nixos
detran has quit [Ping timeout: 248 seconds]
kitemikaze has quit [Ping timeout: 252 seconds]
<kini>
Ah, then maybe I really don't have $NIX_REMOTE set properly. Thanks for the tip, I will check it out.
<erlandsona>
Awesome thanks bsima & lejonet
detran has joined #nixos
<clever>
kini: yep
coot has quit [Quit: coot]
detran has quit [Ping timeout: 248 seconds]
Lisanna has joined #nixos
ryanartecona has joined #nixos
detran has joined #nixos
_6pedrosa9_ has joined #nixos
detran has quit [Ping timeout: 248 seconds]
mkoenig_ has quit [Remote host closed the connection]
hamishmack has quit [Remote host closed the connection]
_6pedrosa9_ has quit [Remote host closed the connection]
hamishmack has joined #nixos
detran has joined #nixos
_6pedrosa9_ has joined #nixos
mkoenig has joined #nixos
hamishmack has quit [Client Quit]
ryanartecona has quit [Quit: ryanartecona]
<lejonet>
ls -lah
<lejonet>
lol, wrong terminal -.-
detran has quit [Ping timeout: 268 seconds]
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
_6pedrosa9_ has quit [Remote host closed the connection]
<samueldr>
hmm, the error just happens to be with wallpapers, the error is `rsync: read errors mapping "...": Input/output error (5)
stephenjudkins has quit [Remote host closed the connection]
garbas has quit [Quit: WeeChat 1.9.1]
<fearlessKim[m]>
once in a nix-shell is it possible to see the command that invoked the nix-shell ?
<samueldr>
it is possible that the issue is from your hardware, from a quick google search
<fearlessKim[m]>
(to see the packages made available by the nix-shell)
<samueldr>
fearlessKim[m]: $buildInputs ?
<samueldr>
not the command though
<Ryvius>
samueldr: Anything I can do? It's always this same error that happens
detran has quit [Ping timeout: 248 seconds]
<samueldr>
first, make sure anything important on that drive is backed up, then look at dmesg, maybe it has more information
<samueldr>
it may also be a bug or something else, but a quick google search makes it look like a hardware issue
<fearlessKim[m]>
samueldr: oh great ! thanks
detran has joined #nixos
mkaito has joined #nixos
ryanartecona has joined #nixos
swayf has joined #nixos
detran has quit [Ping timeout: 256 seconds]
_6pedrosa9_ has joined #nixos
<Kim>
So I'm running into an issue where git seems to be installed and linked at `/home/root/.nix-profile/bin/git`, but a `nix-env -uA nixos.git` doesn't seem to remove it
detran has joined #nixos
_6pedrosa9_ has quit [Read error: Connection reset by peer]
swayf has quit [Ping timeout: 265 seconds]
<samueldr>
-u is for updating, I believe you're looking for -e
<samueldr>
Kim ^
<Kim>
Oh...
detran has quit [Ping timeout: 264 seconds]
hakujin has joined #nixos
<Kim>
Somehow I was jumping to the next line down when reading the help output ^^;
<Kim>
Thanks!
<Kim>
Aaand no build collisions
<samueldr>
yay
_6pedrosa9_ has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
detran has joined #nixos
stepcut has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
<Ryvius>
dmesg has a ton of squashfs errors
<samueldr>
Ryvius: you may be in luck, the drive with errors may not be where it's installing to, but where it's installing from
<samueldr>
try another USB drive, but before, verify the downloaded iso
<Ryvius>
Okay, thanks
<Ryvius>
Should have though about that myself, just funny it's only the wallpapers
detran has quit [Ping timeout: 276 seconds]
<iqubic>
So why are fonts a pain in the butt?
<iqubic>
I have been wrestling with fonts not working a few days.
<samueldr>
looking at your error a bit, tried loading the demo, which has a .run installer too, it may be the compiled-in pango that looks for something that isn't there in the chroot environment created by steam-run, iqubic
<samueldr>
though, I didn't know how to fix it or even start trying to fix it
hamishmack has joined #nixos
<samueldr>
luckily, the demo for your game exhibits the same issue, if anybody else wants to take a look
<iqubic>
This isn't a demo, it's an installer for the full game.
<samueldr>
exactly, but the installer for the demo of that game exhibits the same issue
<iqubic>
But it's the same difference.
<iqubic>
Oh, I see.
<iqubic>
Right. Well, I don't need to use steam-run, because the game is availible on steam too.
<iqubic>
So I could just do that. But that seems too bloated for this purpose.
<iqubic>
Is there a way to just see all the fonts availible in nixpkgs?
detran has joined #nixos
<samueldr>
I would look at the package search page and search for the string `fonts`
<samueldr>
though, it looks like the specific issue may not be fonts
<samueldr>
hm, can't tell, maybe it's packaged in a different enough way, or your file is somehow corrupt
<samueldr>
the way those installers work, generally, is it's a full linux program, to which an archive is appended
<samueldr>
so the program may well start, but the archive be incomplete
<samueldr>
(technicalities with how zip works makes it possible for this to work)
lopsided98 has quit [Remote host closed the connection]
detran has joined #nixos
lopsided98 has joined #nixos
<iqubic>
The first thing I did when I downloaded this file was "chmod 755 the_file_name.run"
<iqubic>
Maybe that's screwing things over.
tertleeltret has quit [Quit: Connection closed for inactivity]
<elvishjerricco>
Is there an easy way to just start up a VM with a given nixos config?
xcmw has joined #nixos
detran has quit [Ping timeout: 256 seconds]
data has joined #nixos
data is now known as Guest15844
Guest15844 has quit [Client Quit]
<fearlessKim[m]>
elvishjerricco: look at nixos-rebuild manpage, there are commands like build-vm IIRC
<elvishjerricco>
fearlessKim[m]: Perfect! Thanks
detran has joined #nixos
<fearlessKim[m]>
elvishjerricco: you will likely have problems to log in once in the VM if you don't add initialHashedPassword or initialPassword to your extraUsers attribute
<samueldr>
maybe you got an unzip from another package that can't handle the archive?
detran has joined #nixos
duckwho has joined #nixos
<samueldr>
md5sum for demo setup I got is 6fb07749c9f1b8ec66791ecc0b4815c7
<iqubic>
Not sure how to check my md5sum.
<samueldr>
the command is md5sum
<samueldr>
(with the file as a parameter)
<iqubic>
But other than the zip package what else provides unzip?
<samueldr>
looks like unzip, unzipNLS, plan9port and busybox all can provide unzip
<iqubic>
What implementation did you use?
<iqubic>
I get the same md5sum as you.
<samueldr>
unzip, if you use the nix-shell command from my log in the gist, it should use the same unzip command, only difference is our nixos channels may differ
azertyieio has joined #nixos
detran has quit [Ping timeout: 264 seconds]
<samueldr>
if it fails with that, *something else* is going on, and that's something that I won't be able to help you with as I'm soon going AFK to sleep...
<iqubic>
I think I can take it from here.
erlandsona has quit [Quit: See y'all later]
swayf has joined #nixos
detran has joined #nixos
<iqubic>
What did you do after unzippin the .run file?
endformationage has quit [Quit: WeeChat 1.9.1]
ryanartecona has quit [Quit: ryanartecona]
<samueldr>
in the `data` folder, there's a .tar.xz file, I untarred it
detran has quit [Ping timeout: 248 seconds]
<samueldr>
what's contained in there are the game files, I ran what looked like the main file using steam-run
<samueldr>
anyway, I'm off, good luck
<iqubic>
I don't know how to untar a file.
swayf has quit [Ping timeout: 265 seconds]
<iqubic>
I have a file called data.tar.xz, and I have no idea how to untar it. Can I have some help?
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
detran has joined #nixos
<elvishjerricco>
fearlessKim[m]: Any idea how to connect to the VM? Say I want to point a browser at a server running in the VM
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fearlessKim[m]>
elvishjerricco: nope but there may be some doc. For more elaborate setups, you might want to have a look at nixops
<elvishjerricco>
fearlessKim[m]: This is nothing elaborate. Just figuring out how to test configs :)
<fearlessKim[m]>
iqubic : tar xvf <file> ? ('x' as in 'eXtract')
<iqubic>
what do the v and f do?
<fearlessKim[m]>
v formats your disk and f sends your passwords to my server
<fearlessKim[m]>
iqubic man tar
<fearlessKim[m]>
v=> 'verbose' and 'f' I don't remember sry
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
catch22 has quit [Ping timeout: 248 seconds]
Lisanna has quit [Remote host closed the connection]
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
stqism has joined #nixos
detran has quit [Ping timeout: 276 seconds]
dbmikus has quit [Quit: WeeChat 1.9.1]
justanotheruser has quit [Ping timeout: 276 seconds]
detran has joined #nixos
detran has quit [Ping timeout: 248 seconds]
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
_6pedrosa9_ has quit [Remote host closed the connection]
freeman42x[NixOS has joined #nixos
_6pedrosa9_ has joined #nixos
detran has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
detran has quit [Ping timeout: 248 seconds]
<maurer>
f is read from a file
<maurer>
(legacy flag required due to its original purpose as a Tape ARchiver
<freeman42x[NixOS>
all I did was push to my fork and it seems to have updated
MP2E has quit [Remote host closed the connection]
detran has quit [Remote host closed the connection]
detran has joined #nixos
NightTrain has quit [Ping timeout: 240 seconds]
detran has quit [Ping timeout: 256 seconds]
nuncanada has quit [Read error: Connection reset by peer]
nuncanada has joined #nixos
<sphalerite>
Dezgeg: gnutls isn't included in the closure that's built for your binary cache, right?
detran has joined #nixos
<freeman42x[NixOS>
how/where do you set the SSH key for GitHub under NixOS?
<hyper_ch>
?
simukis has joined #nixos
leotaku has joined #nixos
detran has quit [Ping timeout: 248 seconds]
detran has joined #nixos
<leotaku>
If I want to define arbitrary variables in configuration.nix, eg. for defining my custom Vim, how should I go about doing that? Should I use lib.option, {config pkgs lib ...}: at the top or something else entirely?
detran has quit [Ping timeout: 256 seconds]
<infinisil>
leotaku: what do you mean by variables? you can just use `let x = pkgs.whatever; in ...` to define x
alex`` has joined #nixos
<leotaku>
infinisil: i know, but that IMO leads to a expression structure that is hard to follow
<freeman42x[NixOS>
I have anttweakbar in local nix store but getting error: undefined variable ‘anttweakbar’ at (string):1:184 when calling nix-shell -p mesa pkgconfig cmake freetype glew doxygen glfw3 fontconfig imagemagick anttweakbar
detran has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
<freeman42x[NixOS>
that lib is in store from a local nix-build, it is not in nixpkgs yet
<NixOS_GitHub>
[nixpkgs] FRidh closed pull request #30594: Update firefox.syncserver and its dependencies (master...update-ffsync) https://git.io/vddIh
NixOS_GitHub has left #nixos [#nixos]
duckwho has quit [Ping timeout: 276 seconds]
<sphalerite>
That counts as a nixpkgs ;)
<genesis>
to get libcapsule from https://github.com/dezgeg/nixpkgs/tree/libcapsule i'd to git clone 800Mo of data, is there something lighter in nix, as overlay for gentoo ? or the idea is smarter use of git branch ?
<Ineff>
sphalerite when I give 'nix-env --query --available --attr haskellPackages' after a while I get the following:
<freeman42x[NixOS>
I just decided that IDEA is best Git GUI lol
detran has joined #nixos
ma27 has joined #nixos
swayf has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<ixxie>
adisbladis[m]: I tried the fetchFromGitHub thing but the tests still won't run :/
zarel has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master cb8eb4d Robert Schütz: pythonPackages.pytest-aiohttp: disable tests
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 360e019 Frederik Rietdijk: Merge pull request #34529 from dotlambda/pytest-aiohttp...
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNAde
<ixxie>
FRidh2: can you advise me on the testing issue? adisbladis suggested that it seems these packages don't ship tests to pypi so I tried fetchFromGitHub but the tests still don't run
<ixxie>
as you can see, there are test-requirements
<ixxie>
I tried fetchPypi and fetchFromGitHub and somehow both fail to run tests, so I am baffled
detran has quit [Ping timeout: 256 seconds]
zarel_ has quit [Ping timeout: 256 seconds]
<Dezgeg>
genesis: I haven't worked on libcapsule since the initial attempt - I plan to wait until we use libglvnd to and hope there'll be better luck with using libcapsule between the libglvnd <-> driver boundary
zarel_ has joined #nixos
<FRidh2>
ixxie: typically just adding test dependencies to `checkInputs` is not sufficient. Often the `checkPhase` needs to be changed to invoke a test runner
<genesis>
Dezgeg : thanks for reply.
zarel has quit [Ping timeout: 256 seconds]
<Dezgeg>
and sadly I haven't seen any upstream commits either since then
<genesis>
i should have a look , man ld.so has plenty of interesting stuff to find missing symbol, perharps the glu for gl in libcapsule is not a big mess.
<genesis>
still investigate why the LD_LIBRARY_PATH hack doesn't work well
<genesis>
LD_TRACE_LOADED_OBJECTS=1 LD_DEBUG=libs are good to know.
<Svarog>
i managed to manually set up an environment to build in, and got an app that works, i am just confused about how to combine all the bits and pieces such as fetch from github, write a build script, execute the build script using buildFHSUserEnv
<ixxie>
FRidh2: I assumed checkPhase is invoked by doCheck = true; if this is so, the tests still refuse to run, both with github and pypi fetches
ottidmes has joined #nixos
zarel_ has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat reopened pull request #33084: libvirt: Avoid patchShebangs in the darwin build (master...libvirt-darwin) https://git.io/vb56w
<fearlessKim[m]>
how can I print the name of a variable in nix as a string. Like I have the variable `expat` I want to print `expat`. If I use builtins.toString expat, it returns the outPath :s
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNAFh
<NixOS_GitHub>
nixpkgs/python-unstable fd6cdce Frederik Rietdijk: awscli: 1.4.29 -> 1.4.32
NixOS_GitHub has left #nixos [#nixos]
_6pedrosa9_ has quit [Remote host closed the connection]
_6pedrosa9_ has joined #nixos
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNAbI
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to python-unstable: https://git.io/vNAbL
<NixOS_GitHub>
nixpkgs/python-unstable d5eb130 Frederik Rietdijk: spyder: 3.2.4 -> 3.2.6
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable 8c04894 Frederik Rietdijk: python.pkgs.pyqt5: 5.9.2 -> 5.10
swayf has joined #nixos
detran has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #33980: cargo-vendor: Build from source using carnix (master...cargo-vendor-carnix) https://git.io/vNBkH
NixOS_GitHub has left #nixos [#nixos]
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
detran has joined #nixos
zarel has joined #nixos
detran has quit [Ping timeout: 264 seconds]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 4 new commits to python-unstable: https://git.io/vNANv
<NixOS_GitHub>
nixpkgs/python-unstable 39e461f Frederik Rietdijk: python.pkgs.cryptography_vectors: move expression
<NixOS_GitHub>
nixpkgs/python-unstable 35bb869 Frederik Rietdijk: python.pkgs.cryptography: move expression
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable 6319a80 Frederik Rietdijk: python: cryptography: 2.0.3 -> 2.1.4
_6pedrosa9_ has quit [Remote host closed the connection]
<infinisil>
fearlessKim[m]: nix doesn't have reflection, so this doesn't work
ma27 has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 276 seconds]
_6pedrosa9_ has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<fearlessKim[m]>
infinisil: that's what I feared but it's ok, I write lua code generating nix code so I will just save the package name as a string too
<infinisil>
fearlessKim[m]: that is, `let expat = ...; in ???` doesn't work, but `let a = { expat = ...; }; in builtins.head (builtins.attrNames a)` works
<infinisil>
fearlessKim[m]: if you could explain your usecase i might be able to help you with an alternative
<infinisil>
it usually makes more sense to generate an attrset instead of variable assignments
detran has joined #nixos
<fearlessKim[m]>
I've modified luarocks to convert lua packages (.rockspec) to .nix derivations. but I need to write a file that tells luarocks where to find the dependencies, aka from a package derivation with `buildInputs = [ expat ]`, I need nix to generate a file with content `{ expat= /nix/store/ae3321321xx-expat-1.5.0/ }`
<fearlessKim[m]>
infinisil: ^
<infinisil>
fearlessKim[m]: ah, if it's done with a list of arguments at the top like `{ stdenv, expat, whatever }: stdenv.mkDerivation { ... }` then you can get the names of the arguments with `builtins.functionArgs`
<infinisil>
which is also what callPackage does to find out what it needs to put in these arguments
azertyieio has quit [Ping timeout: 252 seconds]
<fearlessKim[m]>
I don't use callPackage so the derivations names are in a list, but I guess I can generate a temporary set from the list and use the builtins.attrNames on it
detran has quit [Ping timeout: 268 seconds]
zarel has quit [Read error: Connection reset by peer]
zarel_ has joined #nixos
<infinisil>
fearlessKim[m]: can you show an example of an input file and the result you want generated from it?
_6pedrosa9_ has quit [Remote host closed the connection]
<pie_>
i want to be able to poke around in the build environment of this: nix-shell -v -p 'libsForQt5.callPackage ./default.nix {openjpeg = openjpeg_1;}' --cores 4
<pie_>
i want to call configurePhase and such manually
detran has joined #nixos
<LnL>
you'll want nix-shell -A then, but that doesn't take arbitrary expressions like -p
<pie_>
ooh wait i think i got it \o/ nix-shell -v -E 'with import <nixos> {}; libsForQt5.callPackage ./default.nix {openjpeg = openjpeg_1;}' --cores 4
magnetophon has joined #nixos
<LnL>
yeah, that should work
<LnL>
freeman42x[NixOS: isn't that bsd2?
<freeman42x[NixOS>
LnL, yes, apparently it is so
fyuuri has quit [Ping timeout: 264 seconds]
detran has quit [Ping timeout: 256 seconds]
ssmike has joined #nixos
ma27 has joined #nixos
detran has joined #nixos
ixxie has quit [Ping timeout: 256 seconds]
<freeman42x[NixOS>
is it ok to assume this is the only build output? libfreetype-gl.a
<freeman42x[NixOS>
actually, I will see later :DD
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vNAjs
<seccus>
Yeah. As far as I know, I'm not doing anything special.
va1entin has joined #nixos
detran has joined #nixos
<freeman42x[NixOS>
when building imagemagick-0.0.4.2.drv it errors with Setup: Encountered missing dependencies: vector >=0.9 && <0.12 . I think this happens because current vector version is "0.12.0.1"
<freeman42x[NixOS>
any suggestions?
<srid>
what is the recommended way configure external monitor in nixos? it just duplicates the two screens. i seem to be able to do this in nvidia-settings, but this is not declarative and the settings are not persisted across reboots.
ssmike has joined #nixos
<srhb>
freeman42x[NixOS: Ask the imagemagick maintainer to update the package on Hackage (or PR it yourself)
<fearlessKim[m]>
srid: I use Xrandr though I wouldn't mind a fancy gui. Getting the right xrandr command during meetings can be a tad stressful
<srhb>
I, too, pray to the xrandr gods.
<joepie91>
fearlessKim[m]: arandr?
<srhb>
There's services.xserver.xrandrHeads for static configurations
<srhb>
I don't know of a decent solution declarative autorandr approach
<joepie91>
and at least it has an option to save your config as a shell script
<srhb>
Yeah..
<joepie91>
that execs xrandr with the right commands
<MichaelRaskin>
I have a single script that generally autodetects xrandr correctly
<srhb>
You could also throw them into the necessary udev rules
<srhb>
(I think)
<joepie91>
I actually wonder how difficult it would be to make arandr generate NixOS rules
<joepie91>
it's a fairly tiny application I think
<fearlessKim[m]>
I need to retest arandr, a few years back, it didn't do much
<infinisil>
Actually there is `unxrandr` (comes with xrandr) that outputs an xrandr command to get the current config
<joepie91>
odd, it's always worked great for me
<joepie91>
fearlessKim[m]: anyway, it's in nixpkgs, so :)
<srid_irccloud>
arandr treats my external monitor as two DP displays. it doesn't provide a way to treat them as one :-S
detran has quit [Ping timeout: 268 seconds]
* srid_irccloud
is using xmonad on right half of the 27" 4k display. left half is blank
<joepie91>
srid_irccloud: iirc arandr just passes through whatever X reports
<joepie91>
maybe your display reports itself to X as two displays?
<joepie91>
idk
<joepie91>
it vaguely reminds me of the 10 port USB hubs that report themselves as three different hubs
<srid_irccloud>
I use a thunderbolt 3 connection. I believe this 5k monitor uses two DP connection underneath (in the same TP3 cable)
<joepie91>
3 x 4 port hubs
<joepie91>
(I have one of those hubs actually)
<joepie91>
(though it's on its deathbed)
<MichaelRaskin>
Actually, due to quirks of the standards, there are cases where a single monitor does report itself as two, because otherwise it doesn't get enough pixel rate for 60Hz
<NixOS_GitHub>
[nixpkgs] 4e6 opened pull request #34557: Make haskell-modules backward compatible (master...haskell-modules-compatibility) https://git.io/vNxfR
NixOS_GitHub has left #nixos [#nixos]
ssmike1 has joined #nixos
Rusty1_ has joined #nixos
zarel has quit [Quit: Leaving]
<srid>
two ways to go about it it seems: have X think that these two 'virtual displays' (DP-3 and DP-5 from https://www.irccloud.com/pastebin/bhOP4MWy/ ) are actually one display (which is indeed the case). Or, have xmonad treat the two 'monitors' as one
<srid>
but yes, being able to do this declaratively would be so nice
<srid>
I have a Thinkpad P71 (with nvidia P3000 quadro) connected to the LG UltraFine 5k monitor
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master b994a6e Jan Tojnar: phpPackages.php-cs-fixer: 2.10.0 → 2.10.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vNxfr
Neo-- has quit [Ping timeout: 276 seconds]
<srid>
the laptop is so huge I might as well use it like a desktop. thickness itself is probably 3 times that of macbook pro
detran has quit [Ping timeout: 240 seconds]
<srid>
when travelling maybe ssh to it from the lightweight macbook pro :P
<srid>
gchristensen: ah, cool. so you can already declaratively configure xrandr stuff? i'll play with arandr and then try to do this with finalized settings
<gchristensen>
well if you really never don't use the external display, then that link can help. otherwise, I used arandr to setup my displays then autorandr to save the configs and switch between them
<gchristensen>
never don't -> always
<srid>
in practice, i probably would use the external display about 80% of the time
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master a25e6e1 Tuomas Tynkkynen: go_1_8: Scale up test timeouts...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vNxf1
<srid>
(10% = weightlift the beast to coffee shops)
<gchristensen>
I think you'd be happier with autorandr instead of the declarative config
<ixxie>
hmm nix-env -qa runs out of memory
vcunat has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 97be994 adisbladis: qcachegrind: Fix build with Qt 5.10
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNxfN
vcunat has joined #nixos
detran has joined #nixos
<infinisil>
Hey, I've had this problem for a while: My external display only works when it's connected when booting
<infinisil>
It's an apple thunderbolt display connected through MiniDisplayPort to my macbook air
<fearlessKim[m]>
I have in my derivations an attribute which is a set. It's apparently a problem since nix wants to convert it to a string to export it in the env when building the derivation. How can I tell nix to ignore this attribute ?
pkill9 has joined #nixos
detran has joined #nixos
<vcunat>
Just don't pass it into mkDerivation ;-)
<infinisil>
Yeah this displaylink thing did nothing
Turion has quit [Remote host closed the connection]
<infinisil>
Since rebooting everytime i want to use the display is really annoying, I haven't really used this display very much
detran has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/python-unstable 82f1b00 Frederik Rietdijk: python.pkgs.webcolors: 1.4 -> 1.7
<NixOS_GitHub>
[nixpkgs] FRidh pushed 4 new commits to python-unstable: https://git.io/vNxJz
<NixOS_GitHub>
nixpkgs/python-unstable 56fccb5 Frederik Rietdijk: python.pkgs.ovh: 0.4.5 -> 0.4.8
<NixOS_GitHub>
nixpkgs/python-unstable dda4b02 Frederik Rietdijk: python.pkgs.dicttoxml: 1.6.4 -> 1.7.4
NixOS_GitHub has left #nixos [#nixos]
ixxie has quit [Quit: Lost terminal]
<hyper_ch>
everyone's at FOSDEM it seems
<fearlessKim[m]>
vcunat shit I misread the luarocks config spec, I can indeed do without the set :'(
<hyper_ch>
infinisil: you also use zfs irght?
aanderse_ has joined #nixos
aanderse has quit [Read error: Connection reset by peer]
detran has joined #nixos
hakujin has joined #nixos
stepcut has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
detran has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to python-unstable: https://git.io/vNxJh
<NixOS_GitHub>
nixpkgs/python-unstable e43f3be Frederik Rietdijk: python.pkgs.quantities: 0.10.1 -> 0.12.1
<NixOS_GitHub>
nixpkgs/python-unstable 880dbc2 Frederik Rietdijk: python.pkgs.pygments_2_0: remove unused expression
NixOS_GitHub has left #nixos [#nixos]
<infinisil>
hyper_ch: ye
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vNxUv
<NixOS_GitHub>
nixpkgs/python-unstable f065779 Robert Schütz: python: typing: 3.5.3.0 -> 3.6.4
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 4 new commits to master: https://git.io/vNxUJ
<chreekat[m]>
Is it possible to refer to a particular stackage lts all at once? "let stackage = ... in [ stackage.containers stackage.text ]" <-- that's really how I'd like to refer to packages from a particular lts
<infinisil>
chreekat[m]: with stackage; [ containers text ]
detran has joined #nixos
<hyper_ch>
infinisil: you're not using native encryption right?
<chreekat[m]>
Ha
<elvishjerricco>
chreekat[m]: Take a look at stackage2nix, particularly their `nixpkgs-stackage` overlay
<srhb>
elvishjerricco: Is there a cache to go with that?
<elvishjerricco>
srhb: Nope
<srhb>
Darn...
<infinisil>
hyper_ch: i am not
<elvishjerricco>
That's just hard to accomplish since you'd have to cache <number of nixpkgs checkouts> * <number of lts'es>
<infinisil>
(because of the znapzend not working thing)
<elvishjerricco>
and the number of nixpkgs checkouts is huge :P
<elvishjerricco>
is it sane to use `default = config.<something>` in an option definition to set the default to, say, `nix.maxJobs`? Or is having `options` depend on `config` considered bad practice?
<srhb>
elvishjerricco: I imagined a pinned ghc with some sets, but yeah.
<chreekat[m]>
Ok I assume I can specify an lts independently. I was concerned that the only way I'd seen people pin Haskell versions was by pinning all of nixpkgs or pinning individual packages. Both groan inducing
<hyper_ch>
infinisil: I wrote my own backup script... it just uses auto-snapshot :)
jtojnar has quit [Remote host closed the connection]
<srhb>
elvishjerricco: I think that's fine and sane.
<infinisil>
hyper_ch: yeah i know, you've told me like 4 times now haha
<hyper_ch>
that was an old one :)
<elvishjerricco>
chreekat[m]: Pinning nixpkgs shouldn't be groan inducing, that should be encouraged. But I agree, it should be easy to pin haskell package sets separately
<infinisil>
hmm
<elvishjerricco>
I think it'd be nice if we had a separate server where you could grab each LTS from, and each of these would be cached with the latest NixOS release of nixpkgs from the time the LTS was released, and came with that nixpkgs auto-configured (but overridable of course)
<hyper_ch>
but still trying to add a third option for zfs.... zfs, unstable and master.... master would use latest zfs git with the stability patches
<hyper_ch>
but still fail to get that properly included in nixos
stepcut has quit [Remote host closed the connection]
detran has quit [Ping timeout: 260 seconds]
<chreekat[m]>
elvishjerricco: don't worry, we're exactly on the same page re pinning nixpkgs :)
<chreekat[m]>
Thanks for the pointers. I'll look at some of those things more closely
acarrico has joined #nixos
<samueldr>
hmm, looks like I'll need to add automation to the packages page I host if people are using it
ma27 has joined #nixos
detran has joined #nixos
ssmike1 has joined #nixos
hakujin1 has joined #nixos
ssmike has quit [Read error: Connection reset by peer]
ssmike1 is now known as ssmike
<infinisil>
hyper_ch: link to your attempt?
ma27 has quit [Ping timeout: 276 seconds]
<hyper_ch>
infinisil: setting it up a new in a new vm
<hyper_ch>
since I don't wanna fiddle with homeserver anymore becuase I already upgraded it
<infinisil>
that is a good idea
ijsicle has joined #nixos
hakujin1 has quit [Ping timeout: 240 seconds]
detran has quit [Ping timeout: 256 seconds]
<ijsicle>
Hiw do I rebuild switch from usb boot? I fails in the chroot.
<hyper_ch>
ijsicle: what do you mean?
<ijsicle>
nixos-install tries to redownload everything, but nixos-install --chroot + sudo -i + nixos-rebuild switch fails.
<hyper_ch>
never tried that
<hyper_ch>
mayday
bpa has joined #nixos
<infinisil>
ijsicle: what are you trying to do?
<hyper_ch>
are you in the live iso?
<ijsicle>
I'm trying to redo grub. Live iso - yes.
detran has joined #nixos
<hyper_ch>
why not just mount everything under /mnt/
<hyper_ch>
?
<ijsicle>
Why did you assume that is not the case?
<pie_>
....looks like running a nix script and the build fails but doing unpackPhase, cmakeConfigurePhase, buildPhase manually works.....wth
<hyper_ch>
ijsicle: becuase that works :)
detran has quit [Ping timeout: 256 seconds]
<infinisil>
ijsicle: "redo grub"? This seems like an XY problem
<ijsicle>
What? My computer doesn't boot. Shouldn't I be rebuilding nixos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 8a1069b Will Dietz: fastjet: Fix build w/clang5...
<NixOS_GitHub>
[nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vNxTs
<NixOS_GitHub>
nixpkgs/master dbd9e7f Graham Christensen: Merge pull request #34534 from dtzWill/fix/fastjet-clang5...
NixOS_GitHub has left #nixos [#nixos]
zarel[m] has quit [Ping timeout: 276 seconds]
<infinisil>
ijsicle: so, you're trying to install nixos, did the stuff to build it the first time, ran nixos-install, then tried to reboot and it didn't work?
<ijsicle>
Something like that, sure.
<infinisil>
ijsicle: what didn't work, did you get an error?
<ijsicle>
How wierd that I can rewrite everything on sda1. No counts look bad in s.m.a.r.t. and partition reads and gives back data on all blocks (tested via dd).
<FRidh>
I was planning on upgrading my nixUnstable so might as well checkout nix master
<leotaku>
if I want to "add" custom packages without having to clone and edit the nixpkgs repo, overlays are what I should use, correct?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lukeadams opened pull request #34558: Doxygen Docs for Nixpkgs Internals (master...doxygen-nixpkgs) https://git.io/vNxqL
NixOS_GitHub has left #nixos [#nixos]
<FRidh>
Yes, that is a common and recommended solution.
<infinisil>
leotaku: an overlay isn't even needed though, you can define it inline
detran has joined #nixos
<infinisil>
e.g. with configuration.nix something like `let myPkg = pkgs.stdenv.mkDerivation { ... }; in { environment.systemPackages = [ myPkg ]; }`
<infinisil>
or myPkg = import file/to/build/mypkg.nix { inherit pkgs; }
<leotaku>
infinisil: but if I want to add multiple packages/keep them for longer I should probably use overlays for better readability, right?
<infinisil>
leotaku: yea
<leotaku>
FRidh: infinisil: Ok, thank you for helping!
<infinisil>
I usually use `let in` to define packages if they're really tiny, like scripts or so
<leotaku>
infinisil: that sounds like it makes sense
<the_real_plumps>
@FRidh Hi let's have this discussion here, where it might be easier to discuss :-) (odfpy)
orivej has quit [Ping timeout: 240 seconds]
<the_real_plumps>
I am really confused by your last statement, that it worked on both of your laptops using nixUnstable
<the_real_plumps>
what's the relation to nixUnstable
detran has quit [Ping timeout: 268 seconds]
<infinisil>
Ah, I'm not running nixUnstable btw, maybe that's the reason it built for me
<infinisil>
i mean didn't
<FRidh>
the_real_plumps: I'm trying to find different that can have an affect. Both Hydra and my systems build in a sandbox. I think you said you also used the sandbox. I don't get the error, regardless of the sandbox. Now I'm looking at whether the Nix version matters.
<FRidh>
*differences that can have an effect
Adev[m] has joined #nixos
<Adev[m]>
Plop folks
endformationage has joined #nixos
<Adev[m]>
Any Nix / NixOS users at Fosdem this year ?
<MichaelRaskin>
I think #nixos-fosdem is a better place to ask
detran has joined #nixos
<MichaelRaskin>
Although its _existence_ is an answer to your question.
<Adev[m]>
Ahah Indeed
<gchristensen>
I think Eelco is there?
<FRidh>
the_real_plumps: changed one machine so the nix-daemon would use nix stable, and it still builds fine
leotaku has quit [Ping timeout: 248 seconds]
<infinisil>
FRidh: you did delete the old build, right?
<FRidh>
infinisil: did a --check
detran has quit [Ping timeout: 240 seconds]
<infinisil>
hmm
<infinisil>
My next idea would be to try a fresh VM
<NixOS_GitHub>
nixpkgs/master cff5eec Robert Helgesson: perl-CryptX: 0.055 -> 0.057
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vNxY3
NixOS_GitHub has left #nixos [#nixos]
<chreekat[m]>
When download-from-binary-cache.pl says "NAR info file '...' is signed by unknown key '...', ignoring, does it mean it's ignoring the NAR info file, or is it ignoring the unknown key warning?
<the_real_plumps>
@FRidh I have the same issue on my other 17.09. systems
<FRidh>
the_real_plumps: yes, that store path
nix-gsc-io`bot has joined #nixos
<the_real_plumps>
@FRidh now I don't know what else could be different
<the_real_plumps>
@FRidh I am in favour to rebase the patch to 17.09 and call it a day
<the_real_plumps>
what do you think?
detran has quit [Ping timeout: 248 seconds]
duckwho has joined #nixos
amir is now known as RHEA2013
<vidbina>
does anyone run into LUKS freezing after asking for a passphrase?!? I have btrfs partitions that a LUKS encrypted and occasionally this happens to me but I'm not sure how to go about debugging this issue.
detran has joined #nixos
<vidbina>
It happens in NixOS stage 1, after loading modules btrfs, crc32c and dm_mod, and running udev... the prompts appear and sometimes... one of the bellies up.
<vidbina>
s/one of the/one of them/
jtojnar has joined #nixos
<chreekat[m]>
vidbina: actually yes. I don't use btrfs. I have the whole disk encrypted. I have to hard restart my laptop to continue
<vidbina>
chreekat[m]: so it's probably not btrfs then... do you have any idea how to figure out what is actually failing?!?
<chreekat[m]>
I have no idea how to start debugging it :(
<hyper_ch>
infinisil: ok, it seems I managed to add a new option
<hyper_ch>
infinisil: but what should I call it?
detran has quit [Ping timeout: 240 seconds]
<vidbina>
chreekat[m]: I'm currently looking at my journalctl and if you search for stage-1-init perhaps we can find some clues
__Sander__ has joined #nixos
<ottidmes>
vidbina: I have never had this happen, but I am not using the initrd.luks options, I just call cryptsetup in preLVMCommands myself
ma27 has quit [Ping timeout: 256 seconds]
<chreekat[m]>
vidbina: good luck!
leotaku has quit [Ping timeout: 248 seconds]
ssmike1 has joined #nixos
<vidbina>
chreekat[m]: thanks ottidmes: perhaps, I'll just try that instead. Thank for helping me to new ideas.
<ottidmes>
vidbina: all you need is extraUtilsCommands = "copy_bin_and_libs ${pkgs.cryptsetup}/bin/cryptsetup"; and availableKernelModules = ["aes" "aes_generic" "aes_x86_64" "blowfish" "cbc" "cryptd" "dm_crypt" "dm_mod" "ecb" "lrw" "serpent" "sha1" "sha256" "sha512" "twofish" "xts" ];
<ottidmes>
My list of availableKernelModules is probably overkill, I just added all potential ones
ssmike1 has joined #nixos
detran has quit [Remote host closed the connection]
ssmike has quit [Ping timeout: 256 seconds]
<vidbina>
ottidmes: thanks for that. I'll give it a shot in a bit. Was wondering if you know when the system starts persisting logs to the journal?!? I've been sifting through my logs and only manage to find sessions where I managed to get into stage-2, but I remember within the last few boots having to restart because of a frozen prompt problem :-/. Slightly confusing and I'm starting to think that those cases
<vidbina>
aren't at all logged to my journal.
detran has joined #nixos
<hyper_ch>
clever: online?
hotfuzz has quit [Ping timeout: 256 seconds]
ssmike1 has quit [Read error: Connection reset by peer]
acarrico has quit [Ping timeout: 268 seconds]
<symphorien>
vidbina: the logs can't be persisted before root fs is mounted
<FRidh>
the_real_plumps: we could, but this issue bothers me
<ij>
Should I be able to run nixos-rebuild from a chroot?
detran has quit [Ping timeout: 276 seconds]
<ottidmes>
vidbina: As far as I know stage 1 are not logged, but if your system has a serial tty connection, you should be able to log those messages
michaelpj_ has joined #nixos
detran has joined #nixos
<vidbina>
symphorien: aha... that's why I can't find anything of use in the logs :P. Is there something I can do when the system freezes to get more intel. ottimdes: what do you mean with a serial tty conn?!? I'm booting my laptop and I have no clue what a serial tty connection to my laptop would look like, even less how to get access to it.
<hyper_ch>
FRidh: do you also use zfs?
<the_real_plumps>
@FRidh yeah, me too. Did you really get odfpy as a substitute on your machine? Because have a look at https://hydra.nixos.org/build/67761002
<symphorien>
vidbina: there are alternatives (I have never used them): pass an appropriate netconsole argument to the kernel so that it is debuggable from the network, or if your problem is a kernel panic, or there is boot.crashDump.enable but I think the mechanism is set up at stage 2 so, no luck here
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vNx3K
<NixOS_GitHub>
nixpkgs/staging fac78c8 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos [#nixos]
<FRidh>
the_real_plumps: no, it was a local build
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-unstable from f065779 to 66dc266: https://git.io/v5aIf
<NixOS_GitHub>
nixpkgs/python-unstable 16754b1 Frederik Rietdijk: python: adal: 0.4.7 -> 0.5.0
<NixOS_GitHub>
nixpkgs/python-unstable 154db19 Frederik Rietdijk: python: agate-excel: 0.2.1 -> 0.2.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/python-unstable ef93322 Frederik Rietdijk: python.pkgs.pyopenssl: move expression
detran has quit [Ping timeout: 240 seconds]
__Sander__ has quit [Ping timeout: 240 seconds]
<ottidmes>
vidbina: A serial console is a old hardware feature that some systems still have and can be useful in these kind of situation, but I have not actually used them, I just learned about them myself. Here is some useful info: https://wiki.archlinux.org/index.php/working_with_the_serial_console
<ottidmes>
vidbina: But I would definitely first try the netconsole kernel parameter, since you probably will not have a serial console on your laptop: https://wiki.archlinux.org/index.php/Netconsole
griff_ has joined #nixos
<vidbina>
ottidmes: yeah... will try that. Sounds like a lot of fun. I'll need to find another computer though to be able to use the netconsole :P *Dusting off the Macbook, I have neglected for weeks*
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] sjau opened pull request #34559: zfs: refactor - adding new option for support of new native encryption format (master...master) https://git.io/vNx3h
NixOS_GitHub has left #nixos [#nixos]
ssmike has joined #nixos
detran has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 276 seconds]
duckwho has quit [Quit: WeeChat 2.0.1]
<chreekat[m]>
I have a suspicion that my Haskell deps aren't being built sufficiently parallel, but I'm not even sure how to check. I suppose there's also two levels that are competing: nix build jobs and ghc build jobs. Any pointers?
stphrolland has joined #nixos
ssmike has quit [Quit: ssmike]
<stphrolland>
Hi! I cannot find the acpid.log file on my system. I thought it was there by defualt to record acpi messages in my system. Do I have to do something explicetly in nixos so as to have it ?
va1entin has quit [Quit: WeeChat 1.9.1]
detran has joined #nixos
sggg has joined #nixos
duckwho has joined #nixos
detran has quit [Read error: Connection reset by peer]
detran has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<andi->
stphrolland: isn't acpid also logging to the systemd journal?
<stphrolland>
I don't know. I'm gonna check.
Arcaelyx has joined #nixos
detran has quit [Ping timeout: 256 seconds]
<stphrolland>
there are obviously some acpi messages :-) thx
<genesis>
i try to setup my nix.nixPath = [ "/home/genesis/devel/nixpkgs" ]; in ~/.config/config.nix
<genesis>
but nix doesn't find any package from my git clone
<genesis>
any idea, i searsh the right syntax since a bit ...
knupfer has joined #nixos
<srhb>
genesis: It's ~/.config/nixpkgs/config.nix
<srhb>
But I'm not sure if that affects nix?
<srhb>
I mean, it affects nixpkgs obviously.
<genesis>
yes i mean ~/.config/nixpkgs/config.nix
<srhb>
I think that's a NixOS option.
<genesis>
hum i should set NIX_PATH instead ?
<srhb>
That should work.
<stphrolland>
andi-: I found what I needed, thanks for the indication
<andi->
ok
detran has joined #nixos
<infinisil>
hyper_ch: maybe the option name should signify that it's only there temporary
<hyper_ch>
infinisil: I'm open to suggestions... btw, you think the description is too long for the options?
<hyper_ch>
also I think maybe my custom nixos patch for zfs should be somewhere also put
knupfer has quit [Ping timeout: 265 seconds]
<infinisil>
hyper_ch: long options are nice, but you should format it properly with this xml stuff, otherwise I'm pretty sure it looks garbage when rendered
detran has quit [Ping timeout: 248 seconds]
<hyper_ch>
infinisil: the rest is also just text... not sure how to do that differently
<infinisil>
i personally like when i don't need to click a link to get relevant information
<infinisil>
i never minded having big option descriptions, but get annoyed over too short ones a lot
<hyper_ch>
it's the zfs format change for encrypted dataset... I think it's better to first give the option to migrate for some time and after a while removing it and just offer unstable one once more
<gchristensen>
infinisil: how (In what manner or way; by what means) do (To fulfill the requirements of) you (Used to refer to the one or ones being addressed) propose (To put forward for consideration, discussion, or adoption) we (Used to refer to people in general, including the speaker or writer) show (To display for sale) complex (Involved or intricate, as in structure) details (Particulars considered individually and in
Izorkin has joined #nixos
<gchristensen>
relation to a whole: careful attention to detail) otherwise (In another way; differently)?
<samueldr>
I'm confused, what does infinisil mean, gchristensen?
<samueldr>
;)
* infinisil
starts his advanced language parser
detran has joined #nixos
<infinisil>
gchristensen: heh, well wiki is fine for really big things sure, but a decently sized option desciption isn't bad imo
<samueldr>
hmmmm, while I'm playing with my PR for bootloader refresh, I had an idea...
Izorkin has quit [Client Quit]
<hyper_ch>
hwo do you access the nixos options from the cli?
<samueldr>
how about adding a HiDPI boot option to reduce the need for squinting on the installer image?
<samueldr>
(this would be done by loading a bigger console font ASAP)
Izorkin has joined #nixos
<infinisil>
hyper_ch: man configuration.nix
jtojnar_ has quit [Quit: jtojnar_]
jtojnar has joined #nixos
<MichaelRaskin>
On a true HiDPI the maximal size (32) is still not enough, or so I have been told.
<infinisil>
samueldr: ++ to that
<MichaelRaskin>
(Although of course it is still better than 16)
<gchristensen>
sudoreboot[m]: _please_
<gchristensen>
d'oh, samueldr ^
<samueldr>
:D
<hyper_ch>
how was first day of FOSDEM?
<genesis>
infinisil nix-env -I /home/genesis/devel/nixpkgs/ -qa still gave me nothing :/
<sphalerite>
or if you want to use -I (which applies to nix-build et al as well), nix-env -I nixpkgs=/home/genesis/devel/nixpkgs/ -f '<nixpkgs>' -qa
<sphalerite>
I have nix-env aliased to nix-env -f '<nixpkgs>' because it's basically always what I want, not the silly ~/.nix-defexpr behaviour which is inconsistent with all the other nix tools
stphrolland has joined #nixos
detran has joined #nixos
ssmike has quit [Ping timeout: 264 seconds]
<ckauhaus>
good idea
<brodavi>
hi folks! just started experimenting with containers... I've got one set up and running, but when I try to do nixos-container login mycontainer, I get the login prompt for the container, but my user's login doesn't seem to work. root-login works fine though. Any quick solution?
<eceuv>
I'm writing a derivation that depends on one file (foo.txt), but I'd like that file to show up in the nix store in a directory (/nix/store/hash-name/foo.txt) and retain its original name rather than as a top-level file (/nix/store/hash-foo.txt). What's the best way to achieve this?
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] griff opened pull request #34562: nixos/rspamd: worker configuration, socket activation and tests (master...rspamd-workers) https://git.io/vNxWr
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Read error: Connection reset by peer]
<dbe_>
A package (st) this in it's derivation file: 'configFile = optionalString (conf != null) (writeText "config.def.h" conf)'. How do I pass in a 'conf' to this package?
<ottidmes>
dbe_: You would call a package with conf set, nixpkgs/pkgs/top-level/all-packages.nix has ton of examples of this. Or did you mean something else?
<bsima>
infinisil: turns out the executable was there, I was just looking at the wrong path in /nix/store :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vNxlE
<hyper_ch>
infinisil: nah, am in too many channels already
<infinisil>
hyper_ch: You using a bouncer?
<hyper_ch>
yes
<infinisil>
znc?
<hyper_ch>
feel free to correct spelling errors and fine tune the language :)
Arcaelyx has joined #nixos
<hyper_ch>
are there other bncs?
<infinisil>
no idea haha
<hyper_ch>
:)
<hyper_ch>
there probably are
<hyper_ch>
but I only know znc
<hyper_ch>
still need to see if I can get it to run on nixos
<infinisil>
but with znc you can have detached channels, which you are joined, but don't show up in the client
<hyper_ch>
then I can replace another box
<hyper_ch>
what good are they for?
<dbe_>
ottidmes: So... one way to install this package with my conf is to do some nix-instantiate --expr... uh... "nixos.stdenv.callPackage nixos.st { stuff }". wait, no, what's not right, because nixos.st is the fixpoint package? hrm, I guess there is too much I don't really understand
<hyper_ch>
btw, the wiki was mean to me... wanted to know what the nixos package manager is called
<infinisil>
hyper_ch: you can join many channels, but they won't clutter your client. I only keep the ones I'm most interested non-detached
<infinisil>
Also it's possible to automatically un-detach them when you get highlighted in a detached channel
<hyper_ch>
so why join the others?
<hyper_ch>
still don't see the point :)
<infinisil>
i have questions for other channels sometimes, or just want to check out what's happening there
<infinisil>
keeps me updated if i want it
<hyper_ch>
I don't :)
<hyper_ch>
but didn't know about the detached option in znc
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vNx4Q
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 6b83438 Bjørn Forsman: bitscope: create derivations with version info...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor closed pull request #33889: bitscope: create derivations with version info (master...bitscope-version) https://git.io/vNCev
NixOS_GitHub has left #nixos [#nixos]
<infinisil>
mpickering: this gives me the error
<mpickering>
ok, trying now
<mpickering>
thanks
<mpickering>
didn't know you could pass a url to nix-build
<ambro718>
it looks to me like octave is completely broken on nixos-unstable channel. Gives "error: 'x' undefined" for any variable used in a function.
<infinisil>
yeah, really useful
<ambro718>
(or I am going crazy?)
<infinisil>
ambro718: like a nix error?
<mpickering>
Can anyone trigger Grahamcofborg builds?
<ottidmes>
Any factorio players here on the channel? I have the problem that the game cannot convert games to newer versions of the game because it gives a permission denied due it wanting to change something in the read only nix store.
<LnL>
genesis: now we already set the environment variables but a lot of builds just override it
<LnL>
no*
<LnL>
you should use cc or c++ tho, not the gcc specific name
ssmike has joined #nixos
bpa has quit [Read error: Connection reset by peer]
<mpickering>
infinisil: I think it's because I have "allowBroken"
<genesis>
my package has C++=clang++ in his makefile, i wonder if there something like in gentoo that override such mistake
<infinisil>
mpickering: oh, does removing that make it work?
bpa has joined #nixos
<mpickering>
If you look at "checkValidity"
<mpickering>
line 192
<mpickering>
stdenv/generic/check-meta.nix
<genesis>
LnL : ithink i don't should call make but a wrapper, but i don't find.
<infinisil>
mpickering: yeah makes sense
detran has quit [Ping timeout: 240 seconds]
<genesis>
(on gentoo i'd use emake)
<infinisil>
genesis: i think this can be overridden with the flags to make
<Ralith>
genesis: hardcoding a specific compiler is a bug in your package's build system, and should be fixed upstream
<srid_irccloud>
w00t! 5k monitor works on nixos \o/
<srid_irccloud>
`(II) NVIDIA(0): Virtual screen size determined to be 5120 x 2880`
<Czen>
awesome
knupfer has joined #nixos
<genesis>
oki thanks
<mpickering>
How can I check if "allowBroken" is set?
MP2E has quit [Remote host closed the connection]
detran has joined #nixos
MP2E has joined #nixos
<elvishjerricco>
So, the VM I get from `nixos-rebuild build-vm` is stupidly slow. Any tips on speeding it up?
magnetophon has joined #nixos
srid_irccloud is now known as srid`
detran has quit [Ping timeout: 276 seconds]
<dhess>
Any Hydra-savvy folks around?
detran has joined #nixos
detran has quit [Ping timeout: 240 seconds]
<ertes>
i'm trying to upgrade slade (the doom editor) to 3.1.2, but i get this from cmake: 'Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) (Required is at least version "3.0")'
acarrico has quit [Ping timeout: 256 seconds]
<ertes>
does this ring a bell to anyone? i verified that in all-packages.nix the expression indeed receives wxGTK30
<ertes>
slade 3.1.1.5, the current version, builds fine with otherwise exactly the same expression
detran has joined #nixos
<ertes>
(trying to upgrade to git tab 3.1.2_b5 to be exact)
<ertes>
s/tab/tag/
<mpickering>
where could I possibly set allowBroken = true? I have unset it from configuration.nix and ~/.nixpkgs/config.nix
acarrico has joined #nixos
<MichaelRaskin>
NIXPKGS_ALLOW_UNFREE in environment?
<elvishjerricco>
mpickering: I think in configuration.nix, you have to use `nixpkgs.config.allowBroken = true;`
<mpickering>
yes, I just commented out that line
<mpickering>
MichaelRaskin: Not set
<mpickering>
I just manually set "config = { allowBroken = false }" in mkDerivation and I can reproduce that problem now thank god
detran has quit [Ping timeout: 268 seconds]
ssmike has quit [Quit: ssmike]
<mpickering>
found it
<mpickering>
~/.config/nixpkgs/config.nix
ssmike has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
detran has joined #nixos
<elvishjerricco>
Hm. Looks like the vm from `nixos-rebuild build-vm` doesn't automatically use KVM. But adding `-enable-kvm` still leaves it insanely slow
<pikajude>
lol, hang on
<pikajude>
does the doBenchmark option really not do anything
<pikajude>
for haskell packages
<pikajude>
i don't think it does
hakujin1 has joined #nixos
gilligan_ has joined #nixos
<mpickering>
well it does add the benchmark dependencies at least
<mpickering>
I don't think nixpkgs usually runs benchmarks?
<MP2E>
here's a slade expression I wrote that might work
<ertes>
but at least those will be of my own creation in slade =P
<ertes>
MP2E: i used the one from nixpkgs… the problem was that somewhere between 3.1.1.5 and 3.1.2_b1 the option to use wxwidgets webviews for the start page became the default, and nixpkgs doesn't seem to have wxwebview yet
detran has quit [Ping timeout: 240 seconds]
<ertes>
i figured that out by git-bisecting the slade repo, because cmake's error message wasn't very helpful
<ertes>
now that i disabled it again, slade builds, and it seems to run fine =)
<MP2E>
disabling the cmake flag is probably easier though
<MP2E>
then you don't have to rebuild all of wxGTK :v
<ertes>
i'm not using the start page anyway, so i didn't bother
<ertes>
MP2E: do you use ACS scripting?
<MP2E>
I've read other people's ACS but haven't written it
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gilligan opened pull request #34567: grobi: init at 0.3.0 (master...add-grobi) https://git.io/vNxzO
NixOS_GitHub has left #nixos [#nixos]
<ertes>
ok, i guess i'll just report a bug upstream
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNxz8
<NixOS_GitHub>
nixpkgs/master d7bdfe4 Michael Weiss: nvme-cli: 1.4 -> 1.5
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos force-pushed master from d7bdfe4 to 88c16a6: https://git.io/a2S4Ow
<NixOS_GitHub>
nixpkgs/master 88c16a6 Michael Weiss: nvme-cli: 1.4 -> 1.5
NixOS_GitHub has left #nixos [#nixos]
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
viric has quit [Quit: moc]
<primeos[m]>
"primeos force-pushed master from d7bdfe4 to 88c16a6" - Is the master branch intentionally not "protected" (GH setting) (just tried to overwrite my own commit out of curiosity)? IIRC the stable branches are protected. (@fpletz @grahamc or someone else)
<ertes>
what's the date format again when using git revisions instead of releases? "20180129"? "2018.01.29"? "2018-01-29"?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rnhmjoj opened pull request #34570: nixos/emacs: set VISUAL along with EDITOR (master...emacs) https://git.io/vNx21
NixOS_GitHub has left #nixos [#nixos]
<srid`>
"Warning: It is generally safe to switch back and forth between channels. The only exception is that a newer NixOS may also have a newer Nix version, which may involve an upgrade of Nix’s database schema. This cannot be undone easily, so in that case you will not be able to go back to your original channel."
<srid`>
Is this applicable when upgrading to Nix 2.0 and nixos 18.03?
<infinisil>
srid`: I heard from someone recently that this was the case like a year ago, but doesn't apply anymore
<MichaelRaskin>
I would actually postfix the version like 3.1.1.5.2018.01.29
<ertes>
ok
<MichaelRaskin>
I am not saying I am right in this…
<ertes>
my intuition tells me that since i'm making a separate "-git" package, it doesn't really have to contain a release version number… what do you think?
stepcut has joined #nixos
<ertes>
there is "slade-3.1.1.5", and if my PR gets merged there would be "slade-git-2018.01.29"
stepcut has quit [Remote host closed the connection]
<MichaelRaskin>
Then 3.2 gets released, then git package is not needed but has a different build process so it is not deleted, then someone looks at 3.2.5 and git-2018.02.07 and wonders.
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<ertes>
makes sense… i'll include the version number =)
stepcut has joined #nixos
detran has joined #nixos
gilligan_ has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] esoeylemez opened pull request #34571: slade-git: init at 2018.01.29 (master...ertes-slade) https://git.io/vNxar
NixOS_GitHub has left #nixos [#nixos]
stphrolland has joined #nixos
stepcut has quit [Ping timeout: 256 seconds]
<infinisil>
ertes: versions be versions, dates be dates
<infinisil>
i think the dashes are used all over nixpkgs so I'd stick with that
aarvar has quit [Ping timeout: 248 seconds]
<infinisil>
sometimes it's better to have a standard and stick to it, even though it might not be perfect (which is subjective anyways)
detran has quit [Ping timeout: 248 seconds]
<MichaelRaskin>
Well, comparability of related packages is more important than uniformity of versioning across unrelated pacakges.
<leotaku>
is it possible to specify a runtime dependency for a vim plugin?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] esoeylemez opened pull request #34572: doom-bcc-git: init at 2018.01.04 (master...ertes-bcc) https://git.io/vNxax
NixOS_GitHub has left #nixos [#nixos]
<leotaku>
*custom vim plugin
<ertes>
infinisil: too late… i'll just let the reviewer decide
<ertes>
i don't have any strong opinions on this myself
<ertes>
personally i'm more interested in getting the tools into nixpkgs =P
detran has joined #nixos
<infinisil>
well yeah, it's a minor thing of course
<infinisil>
just for reference though: there's 15 times more instances of YYYY-MM-DD than YYYY.MM.DD
<infinisil>
in nixpkgs
<ertes>
and i guess i can close the PR for ACC… the licensing issue is really annoying, and i didn't know about BCC when i issued it
<ertes>
infinisil: if this really bothers you, i don't mind changing the format
brodavi has quit [Quit: Page closed]
<infinisil>
nah it's fine :P
niklob has quit [Quit: Leaving]
<infinisil>
just felt like testing my command line skills to count those numbers heh