gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
aswanson has quit [Quit: WeeChat 2.2]
aswanson has joined #nixos
mbrgm_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lovesegfault has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
kvda has joined #nixos
<clever> 37844 store paths deleted, 245173.88 MiB freed
<ar1a> wow
<clever> thats one massive GC!
<gchristensen> pretty good
<ar1a> how do ya gc?
<clever> ar1a: nix-collect-garbage
<ar1a> 1359 store paths deleted, 4148.70 MiB freed
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-19.03: https://git.io/fjINS
Rusty1 has quit [Quit: Konversation terminated!]
<clever> fatal: '538a5023af' is not a commit and a branch 'fetchgit' cannot be created from it
<clever> gchristensen: now i get to fight the git protocol!
<gchristensen> O.o
<clever> gchristensen: is there a simple way to check if a given string starts with another?...
<clever> > lib.strings.hasPrefix
<gchristensen> I think yes...
<{^_^}> <LAMBDA>
<gchristensen> yeah
aswanson has quit [Quit: WeeChat 2.2]
aswanson has joined #nixos
goibhniu2 has quit [Ping timeout: 255 seconds]
Rusty1 has joined #nixos
growpotkin has joined #nixos
<growpotkin> Hey does anyone know if the nixos.org pages accept URI queries?
<growpotkin> I have just been throwing different common patterns at it with no success lol
sam has joined #nixos
<gchristensen> what are you trying to do?
<samueldr> growpotkin: what do you mean?
sam is now known as Guest28148
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<growpotkin> like lets say I want to query that package list in my browser, I want to enter like `https://nixos.org/packages.html?query=Hello`
<clever> gchristensen: now i dont have to deal with git!
<gchristensen> clever: nice!
<growpotkin> gchristensen: Whenever I try that it still loads the basic page :(
<samueldr> growpotkin: javascript will be needed
<growpotkin> I had imaginged it would work though
<samueldr> there is no server-side magic on the website :(
<growpotkin> ah good to know
<gchristensen> growpotkin: the website is all static HTML
<growpotkin> glad I asked before I kept digging haha
<samueldr> (did I assume right that your JS is turned off?)
<eacameron> Is there a way to get the screens manager to revert screen resolution changes after a timeout, like in other OSes?
<growpotkin> no I have it turned on
<gchristensen> growpotkin: #hello will display the items filtered though
<clever> gchristensen: still need to fetchgit all of chromium though...
<samueldr> in due time it will work with query string parameters, I have a PR improving the page that I direly need to fixup
<growpotkin> WOW that actually works now
<growpotkin> I swear I have tried that so many times over the last year lol
<growpotkin> and now of course when I'm told on the IRC, and I'm thinking "nah I already know that doesn't work; I tested it"... lol
<growpotkin> classics
<growpotkin> THANK Y'ALL
<growpotkin> this does exactly what I need it to do :)
jluttine has quit [Ping timeout: 250 seconds]
<gchristensen> :D
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has quit [Ping timeout: 250 seconds]
<clever> gchristensen: can you guess what i'm implementing?
<gchristensen> it sounds like you're exploring a libuv nightmare, but not 100% :)
<samueldr> Vulkan on a dead badger?
<clever> basically, i'm writing gclient2nix
<samueldr> ooh, spiffy
<clever> because gclient is fighting the nix sandbox constantly, and every test takes 3 hours to run
<eacameron> Hm, I'm not getting any sound after upgrading from 17.09 to 18.09
drakonis has joined #nixos
<eacameron> I set sound.enable = true.
<ajs124> clever, gclient is different from repo, right?
<clever> eacameron: is pulseaudio enabled?
<clever> ajs124: no idea what repo is
<gchristensen> nice :D
<ajs124> clever, it's what's used to manage android trees
<growpotkin> has anybody else had spotify issues recently?
<growpotkin> Mine just quit working on all my machines like 2 weeks ago
<jackdk> has it been spotty for you?
<clever> ajs124: ah yeah, i think thats fairly different
<jackdk> (I'll be here all night. Try the veal!)
<growpotkin> The app loads and all the UI seems fine
<growpotkin> but no audio
<growpotkin> no connections to Alsa or Pulse
<eacameron> clever: is that defaulted to false now too?
<clever> gchristensen: of note, linux has to whitelist symbols that can be used by "unfree" software, and sometimes they can simply forget to whitelist something
aanderse-work has joined #nixos
kvda has joined #nixos
<gchristensen> yea
kreisys has joined #nixos
<clever> gchristensen: thats also why do_mount is missing, and zfs has to execute /bin/sh -c "mount ..." just to auto-mount things, lol
<gchristensen> and they're not inclined to agree to it for zol
<gchristensen> :|
Jetien__ has joined #nixos
<clever> gchristensen: and nixos's /bin/sh has a default PATH=/path-not-set, so it cant find mount
<gchristensen> seems we could fix that
<clever> gchristensen: zfs has already been patched to accept a path to something
<clever> gchristensen: and nixos uses that to solve the issue
<gchristensen> nice
<clever> and its only used to auto-mount things in .zfs/snapshots
Jetien_ has quit [Ping timeout: 250 seconds]
ym555 has quit [Ping timeout: 245 seconds]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjIAf
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jluttine has quit [Ping timeout: 250 seconds]
kvda has joined #nixos
jluttine has joined #nixos
jluttine has quit [Ping timeout: 255 seconds]
<eacameron> clever: well apparently pulseaudio was not enabled, but enabling it hasn't helped
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6ae427dee0b (from 72 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
drakonis has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> eacameron: when you run pavucontrol, is the app listed under playback?
<clever> eacameron: when you run `alsamixer -c 0` is it muted?
kvda has joined #nixos
kvda has quit [Client Quit]
thc202 has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
jluttine has joined #nixos
kvda has joined #nixos
kvda has quit [Client Quit]
<eacameron> clever: pavucontrol shows it playing but I'm not sure how to tell if it's muted via alsamixer
<eacameron> Oh
<eacameron> I found in pavucontrol the output device was muted!
<eacameron> Thank you!!
lovesegfault has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
judson has quit [Ping timeout: 255 seconds]
lovesegfault has joined #nixos
adetokunbo has quit [Quit: This computer has gone to sleep]
Supersonic has quit [Ping timeout: 250 seconds]
lovesegfault has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
acarrico has joined #nixos
<CMCDragonkai> What are some recommended packages to put into `udev.packages`?
Supersonic has joined #nixos
<samueldr> non really as most of the time a module will handle it, e.g. programs.adb.enable = true; will add the android udev rules
<samueldr> none really*
adetokunbo has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #58952 → meters.lv2: 0.8.1 -> 0.9.10 → https://git.io/fjIAu
<samueldr> the main reason to put things in there is when hardware isn't acting exactly like one assumes it will, or not being accessible as the user
adetokunbo has quit [Ping timeout: 246 seconds]
blankhart has joined #nixos
Guest28148 has quit [Remote host closed the connection]
jackdk_ has joined #nixos
jackdk has quit [Disconnected by services]
jackdk_ is now known as jackdk
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to release-19.03: https://git.io/fjIA2
ddellacosta has joined #nixos
<ar1a> hey, how can you view all the available ghc versions i can install?
<ar1a> i'm using nixpkgs.ghc rn but i need an older version
<slack1256> ar1a: nix repl is a live repl for the nixpkgs
<slack1256> you can do something like
InFlames has joined #nixos
<slack1256> pkgs = import <nixpkgs> {}
<slack1256> builtins.attrNames pkgs.haskell.packages
<samueldr> nix repl '<nixpkgs>' # on the cli is also neat
Qubasa has quit [Ping timeout: 250 seconds]
<samueldr> it imports <nixpkgs> in scope directly
<slack1256> and it will print a list of GHCs attributes with their packages
georges has quit [Ping timeout: 246 seconds]
<ar1a> hm, pkgs.haskell.packages.ghc863Binary didn't work
swerlk has quit [Remote host closed the connection]
<slack1256> nix-shell -p haskell.packages.ghc863Binary.ghc
<slack1256> pkgs.haskell.packages.ghc863Binary is an attribute set
Qubasa has joined #nixos
lmarks has quit [Remote host closed the connection]
jmgai_ has joined #nixos
jasongrossman has quit [Ping timeout: 255 seconds]
<ar1a> my mistake
jasom has quit [Ping timeout: 264 seconds]
georges has joined #nixos
jmgai has quit [Ping timeout: 255 seconds]
<slack1256> ar1a: not worries. Play with nix repl, it argueably one of the best ways to see how nixos/nixpkgs are constructed :-)
aanderse-work has quit []
alunduil has joined #nixos
<ar1a> damn, now im getting another error from haskell-ide-engine
<ar1a> LSP :: Got error while processing diagnostics: <command line>: cannot satisfy -package-id QuickCheck-2.12.6.1-JyVWDgZJAFGJC5rmVxfUSm
alunduil has quit [Client Quit]
<slack1256> disable test
alunduil has joined #nixos
alunduil has quit [Client Quit]
<ar1a> interesting. more errors. i commented quickcheck it out of my .cabal but now running inside nix-shell, something more interesting
<ar1a> [nix-shell:~/projects/polishnt]$ cabal configure --with-ghc=ghc --flags ""
<ar1a> cabal: Encountered missing dependencies:
<ar1a> ansi-terminal -any, numbers -any, readline -any
<ar1a> the shell.nix i generated with cabal2nix --shell has those packages in there though
<slack1256> ar1a: cabal new-build --disable-tests
<slack1256> maybe?
<ar1a> it's not a new-style project
<ar1a> it seems to have failed trying to find readline
<ar1a> [__1] unknown package: readline (dependency of polishnt)
<slack1256> ar1a: it doesn't the to have a .project file, if it just has a .cabal file new-build works
dckc has quit [Ping timeout: 255 seconds]
<ar1a> does cabal2nix support new-style projects? because it seems new-build is using stackage instead of nixpkgs
<slack1256> I declare all my dependencies via cabal2nix. I generate a default.nix file and an nix-shell file (so I can change compilers)
<slack1256> I nix-shell into the environment and then run cabal new-build
<ar1a> im trying to get haskell-ide-engine working here
<ar1a> so i can't do much manual work
<metasyntactic[m]> What's the most idiomatic way in configuration.nix to specify that you'd like one package (e.g. youtube-dl) to come from the master nixpkgs on github instead of the normal channel you're on (e.g. 19.03)?
atgo[m] has left #nixos ["User left"]
silver has quit [Read error: Connection reset by peer]
<slack1256> metasyntactic[m]: I think you have the wrong conceptual model for nixpkgs
<ryantm> metasyntactic[m]: Are you sure you want master and not the unstable channel?
InFlames has quit [Ping timeout: 250 seconds]
<metasyntactic[m]> well... wih youtube-dl specifically, it is updated every two weeks and having a stale version is less useful
<metasyntactic[m]> unstable lags by several days, right?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<metasyntactic[m]> should I just "nix-shell -p youtube-dl -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/master.tar.gz" every time I want to use it? that doesn't seem like the best idea, but it works
<slack1256> are you sure you want to stay on the bleeding edge that way?
sgronblo has quit [Quit: Lost terminal]
<samueldr> youtube-dl sometimes really needs to be bleeding to be useful :/
<metasyntactic[m]> for just that package, yes, not for the rest of my system. that's why I was wondering what the most appropriate way to specify that would be
<samueldr> (if you didn't know, it does MANY more services than youtube)
<slack1256> If I want to use really new software, I download the repo the via git, and nix-shell the dependencies myself
<simpson> I have a git checkout of nixpkgs on a machine purely for youtube-dl.
mconstant has joined #nixos
<ar1a> any ideas on my cabal issue? This all started when im trying to use an older compiler. `cabal build` returns https://0x0.st/zPny.txt shell.nix is https://0x0.st/zPnt.nix (note the compiler is set to something other than default). ``nix-repl> haskell.packages.ghc863Binary.readline`` returns a derivation, so it exists.
<metasyntactic[m]> should I create a channel called nixpkgs-master and add that to the channel list and add the nixpkgs-master.youtube.dl in my environment.systemPackages ?
InFlames has joined #nixos
<samueldr> it's one way
<ryantm> metasyntactic[m]: In environment.systemPackages you could put: (import (builtins.fetchTarball "https://github.com/nixos/nixpkgs/archive/master.tar.gz") {}).youtube-dl
<slack1256> that is a real side effect If I've seen one
o1lo01ol1o has joined #nixos
<slack1256> you can have a copy of nixpkgs and tag specific versions, and import those
<slack1256> that way is more reproducible
<ryantm> Right, you can pass a hash to fetchTarball
atgo[m] has joined #nixos
<metasyntactic[m]> but the hash would change all of the time... hence my question about idiomatic solutions
<ryantm> right you'd have to change the URL to be a specific commit and manually update the commit and hash.
atgo[m] has left #nixos ["User left"]
<ryantm> If you do it the way I suggested, it will always grab the latest version, but it isn't as reproducible, like if youtube-dl breaks it will break your entire configuration.
<metasyntactic[m]> yeah, and since the whole point of this is that youtube-dl is constantly updated for scraping sites and that's a cat and mouse game, it doesn't seem like a useful approach
<ryantm> metasyntactic[m]: It seems like builtins.fetchTarball on master without a hash make sense.
<metasyntactic[m]> how would it break my entire configuration?
<ryantm> Well, you might need to comment out the youtube-dl line if youtube-dl is broken on master.
atgo[m] has joined #nixos
<metasyntactic[m]> true
<slack1256> fetchTarball would download nixpkgs at each rebuild right?
<ryantm> It will cache it for a little bit, but yes.
<metasyntactic[m]> would using nix-channels be better?
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<tdeo> you could have a nix-channel for the youtube-dl source github, then override the source for the nix package
<tdeo> like `(youtube-dl.overrideAttrs (self: {src = <youtube-dl>; postInstall = "";}))` (postinstall is zsh completion that seems to not work with ytdl master)
kvda has joined #nixos
buffet has quit [Ping timeout: 245 seconds]
buffet_ has joined #nixos
<ryantm> metasyntactic[m]: Using nix-channel would work and be maybe a little easier than the specific commit/hash method, but then your configuration relies on the state of the nix-channel.
<ryantm> the state of the nix-channel on your computer
jasongrossman has joined #nixos
blankhart has quit [Quit: WeeChat 1.9.1]
jasongrossman has quit [Ping timeout: 268 seconds]
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
elvishjerricco has quit [Ping timeout: 258 seconds]
elvishjerricco has joined #nixos
elvishjerricco has quit [Max SendQ exceeded]
newhoggy has quit [Ping timeout: 264 seconds]
elvishjerricco has joined #nixos
d1rewolf has quit [Ping timeout: 258 seconds]
newhoggy has joined #nixos
mudri has quit [Ping timeout: 252 seconds]
d1rewolf has joined #nixos
mudri has joined #nixos
dckc has joined #nixos
Yaniel has quit [Ping timeout: 245 seconds]
<hyper_ch> anyone is using bind on nixos? I have a server running debian with bind and I thought it might be good to have a slave dns server as well
Yaniel has joined #nixos
over7head has joined #nixos
<over7head> thats the job
<over7head> ahaha
jackdk_ has joined #nixos
jackdk has quit [Disconnected by services]
jackdk_ is now known as jackdk
sam has joined #nixos
sam is now known as Guest65784
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has joined #nixos
Guest65784 has quit [Ping timeout: 250 seconds]
kreisys has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.3]
drakonis_ has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
abathur has joined #nixos
slack1256 has quit [Remote host closed the connection]
tboston_ has joined #nixos
<kalbasit> where's the source code for nix-shell? I can't find references to it at https://github.com/NixOS/nix/tree/master/src
vonfry has joined #nixos
<ryantm> kalbasit: readlink `which nix-shell`
<ryantm> That might be a good start down the path to finding it!
<kalbasit> oh
<kalbasit> I'm trying to debug https://github.com/NixOS/nix/issues/2755 and would appreciate a hint :)
<{^_^}> nix#2755 (by kalbasit, 13 minutes ago, open): nix-shell as shebang is not able to access `<random-item-from-NIX_PATH>'
vonfry has quit [Quit: WeeChat 2.4]
<ryantm> kalbasit: Looks like it shares code with nix-build
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
Mateon1 has quit [Ping timeout: 246 seconds]
slyfox has quit [Ping timeout: 246 seconds]
slyfox has joined #nixos
abathur has quit [Quit: abathur]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d956f2279b8 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
scribbler has joined #nixos
scribbler has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
wfranzini has quit [Remote host closed the connection]
Glider_IRC__ has joined #nixos
palo1 has joined #nixos
Glider_IRC_ has quit [Ping timeout: 245 seconds]
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
ddellacosta has quit [Ping timeout: 245 seconds]
Mateon2 has joined #nixos
mariel__ has joined #nixos
linarcx has joined #nixos
over7head has left #nixos [#nixos]
mariel__ has quit [Ping timeout: 258 seconds]
<tdeo> my `nix search` output is quite small (100 packages or so). not sure how to try to fix this, but it might be related to not using channels and setting nix-path instead?
<tdeo> anyone know if that's the cause
spikeQi has joined #nixos
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<kalbasit> how to run the tests in https://github.com/NixOS/nix/tree/master/tests ?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4fe8a27cfea (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
MichaelRaskin has left #nixos [#nixos]
<kalbasit> Follow the instructions at https://nixos.org/nix/manual/#chap-hacking I can't find configurePhase
<kalbasit> I checked master, instructions have not changed
<kalbasit> s/Follow/Following/
rauno has joined #nixos
fusion809 has joined #nixos
<kalbasit> seems to work after running `./configure`
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6ae427dee0b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Myhlamaeus has quit [Ping timeout: 240 seconds]
Dr8128 has joined #nixos
hyper_ch2 has joined #nixos
reinhardt has joined #nixos
<{^_^}> [nix] @kalbasit opened pull request #2756 → manual: fix the hacking section → https://git.io/fjIhh
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a6ee6a53a23 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
womfoo has joined #nixos
spikeQi has quit [Remote host closed the connection]
avn has quit [Ping timeout: 268 seconds]
avn has joined #nixos
sinner has joined #nixos
sinner is now known as Guest56620
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> > "test"
<{^_^}> "test"
sb0 has joined #nixos
Guest56620 has quit [Remote host closed the connection]
linarcx has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
hamishmack has joined #nixos
womfoo has quit [Remote host closed the connection]
<mrus> Is there a way one could get a stable version of the 5.x Kernel running on 18.09 stable?
MightyJoe has quit [Quit: No Ping reply in 180 seconds.]
linarcx has quit [Ping timeout: 268 seconds]
<mrus> https://nixos.org/nixos/packages.html#linux-5 doesn't display anything
cyraxjoe has joined #nixos
linarcx has joined #nixos
<mabel> hey all. there's a "download" directive in cmake, which downloads files during make. I'm trying to package a rather complex package which makes extensive use of this directive (in the only setup I've been able to make progress with.)
<mabel> is there a way I could 'fake out' the download cache in my nix expression?
<mabel> so I could fetchurl / fetchFromGit all the things it wants ahead of time, then construct the cache using those paths
<mabel> since everything is pinned/frozen it should be correct to do so, right?
reinhardt has quit [Quit: Leaving]
reinhardt has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
linarcx has joined #nixos
wfranzini has joined #nixos
rprije has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 268 seconds]
ru_horlick has joined #nixos
Ariakenom has joined #nixos
Tucky has joined #nixos
kvda has joined #nixos
erasmus has quit [Quit: ragequit]
<eyJhb> Any clue when Go 1.12 will be in the stable channel? How long does it usually take?
<clever> mabel: find out where its trying to put the files, and manually copy them there before the buildPhase
<clever> mabel: if they exist, make wont try to "make" them
<srhb> eyjhb: If you mean 18.09 probably nevre and forever, respectively. :)
<eyJhb> srhb: I really have no clue, why it doesn't want to work, when I fetch it from unstable channel then......
<{^_^}> [nixpkgs] @dotlambda opened pull request #58954 → home-assistant: 0.90.2 -> 0.91.0 → https://git.io/fjLeI
<srhb> eyjhb: Given no further information, me neither. :P
drakonis_ has quit [Remote host closed the connection]
<eyJhb> srhb: *updating dotfiles to reflect lastest stuff* :D
<eyJhb> 2 sec, morning meeting
<mabel> clever: hm... it's using the standard cmake facility, I was hoping I could override its blob cache somewhere.
<clever> mabel: just read the generated makefile and see where its trying to put the files, and how it downloads them
<mabel> actually, I wonder if I could change the externalproject directive to reference a path under my control rather than a download
endformationage has quit [Ping timeout: 245 seconds]
<mabel> oh, I see.... I could literally replace SOURCE_DIR ${EP_SOURCE_DIR} with SOURCE_DIR ${NIX_BUILD_INPUT_GOES_HERE}"
<mabel> and remove the GIT_REPOSITORY and GIT_TAG declarations
<mabel> and it'd assume the external project didn't ever need to be downloaded, and just read them directly from there
linarcx has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #58955 → mosquitto: 1.5.5 -> 1.5.8 and add systemd support → https://git.io/fjLew
linarcx has joined #nixos
Tiez has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
growpotkin has quit [Quit: WeeChat 2.4]
Dr8128 has quit [Ping timeout: 255 seconds]
wfranzini has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
Makaveli7 has joined #nixos
<rnhmjoj> can anybody with commit access look at pr #58290?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58290 (by neonfuz, 1 week ago, open): gogs: fixed buildtime tags bug
<yurb> I'm running nix packages on Fedora, and recently something happened to terminal programs where all unicode characters are printed as "?"
<yurb> in rxvt and st
<yurb> Also mc's interfaces is in English while coreutils (date) prints the help message in my locale (both from nixpkgs)
<{^_^}> [nixpkgs] @peterhoeg opened pull request #58956 → nixos aws: use in-kernel ixgbevf driver → https://git.io/fjLej
<yurb> How is locale handled different in mc from coreutils?
goibhniu1 has joined #nixos
thc202 has joined #nixos
womfoo has joined #nixos
<yurb> Maybe related to ncurses (or other terminal ui library)
<{^_^}> [nixpkgs] @gebner opened pull request #58957 → cura: 3.6.0 -> 4.0.0 → https://git.io/fjLvq
linarcx has quit [Ping timeout: 255 seconds]
linarcx has joined #nixos
InFlames has quit [Quit: Konversation terminated!]
InFlames has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
civodul has joined #nixos
jomik has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
<jomik> Hey guys, I simply can not figure out why my Kitty installation will not launch any child processes. I.e. running `kitty list-fonts` fails with an error `Failed to launch child: list-fonts` `No such file or directory`. I have no idea which file it is looking for though :/
<tilpner> jomik: strace -vfefile can be used to figure out which file it's referring to
<tilpner> (Throw in -o /tmp/log if it's too much output)
linarcx has joined #nixos
<hyper_ch2> kitty installation?
<jomik> Wut `/run/current-system/sw/bin/sh`
<jomik> hyper_ch2: The kitty terminal
<jomik> It seems to be unable to find /bin/sh in my ... PATH ? I guess?
<hyper_ch2> don't know kitty terminal
<hyper_ch2> and well, nixos doesn't use such trivial things like /bin/sh
<jomik> Oh, no, I guess it ends up finding it in `/run/current-system/sw/bin/s`h, I read wrong
<jomik> Heh
<hyper_ch2> you should use #!/usr/bin/env sh
<jomik> We have /bin/sh linked to bash.
<jomik> That's not what I mean hyper_ch2 . It is trying to execute `sh`
<jomik> But that works. I just read the trace wrong
shabius_ has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #58958 → lldb: install vscode plugin; vscode-extensions: add it → https://git.io/fjLv4
shabius has quit [Ping timeout: 258 seconds]
m0rphism has joined #nixos
<Taneb> I'm trying to add hash for a local path, but tofu isn't working and sha256sum is too long. What should I do here?
<{^_^}> [nixpkgs] @hedning pushed to gnome-3.32 « fixup! shotwell: 0.30.2 -> 0.31.0 »: https://git.io/fjLvw
eu has left #nixos ["WeeChat 1.6"]
pmiddend has joined #nixos
<etu> ,tofu Taneb
<{^_^}> Taneb: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<pmiddend> I'm trying to add a self-written derivation for a python package to my packages.nix using "python3Packages.callPackage my-derivation.nix {}", but it tells me that the function wasn't called with the "buildPythonPackage"
arjen-jonathan has quit [Quit: WeeChat 2.3]
arjen-jonathan has joined #nixos
<Taneb> etu: that was failing with "error: store path mismatch in (possibly filtered) path added from [path]"
<Taneb> nix-hash is what I wanted
<pmiddend> Oh, seems "python3.pkgs.callPackage" works. I have no idea why.
rauno has quit [Remote host closed the connection]
<jomik> Ah, I fixed my issue, thanks tilpner :D
jomik has quit [Quit: WeeChat 2.4]
fendor has joined #nixos
kai_w has joined #nixos
<glenndavy> hey all.. just trying to understand something. my attempt to do nix-build -E ‘…’ is failing because private git repos specified in gemset.nix are giving me publickey permission issues. but.. if i do `nix-prefect-git —url.. —out .. etc etc` it pulls the repo just fine.
<glenndavy> Does anyone have any idea why?
kvda has joined #nixos
<kai_w> glenndavy: I think nix-build communicates via the nix daemon, which runs as a different user (root?), so that user must have the public key
<glenndavy> damn.. ok, so, yesterday when i was doing the build it wasn’t working but today it stopped. Any ideas why it might have worked previously?
<glenndavy> and, perhaps a better question, is, is there away to run nix daemon not as root?
wfranzini has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
pmiddend has quit [Quit: WeeChat 2.4]
fendor has quit [Ping timeout: 246 seconds]
<kai_w> I think it's possible - but that user can then modify package system-wide, so it's probably a better idea for it to remain root
<kai_w> and figure out a way to give it access to the SSH key
<glenndavy> i’ve done the latter temporarily
<glenndavy> lol, which didn’t work..
<kai_w> perhaps something else then, sorry :/
<glenndavy> kai_w: so, hows this root based daemon supposed to function. one thing i’m finding all the time is that my user hits permission issues on /nix/* say while installing gems from bundix
<glenndavy> >: perhaps something else then, sorry
<glenndavy> yeah back to drawing board, but i think you’re on to it
<kai_w> do you have a single-user install? `nix-info -m` if you're not sure
<glenndavy> so, i chown and chmod etc etc but permission gets changed back.. whats the mechansim supposed to be?
<glenndavy> oh, checking...
tboston_ has quit [Ping timeout: 244 seconds]
<glenndavy> hmm, nix-info not found
<manveru> `nix-shell -p nix-info --run "nix-info -m"`
<glenndavy> ah now its installing nix-info
<glenndavy> ‘multi-user?: no’
<manveru> you're on nixos?
<glenndavy> oh
<glenndavy> sorry, no darwin
<manveru> ok :)
<manveru> maybe check #nix-darwin then
<glenndavy> cool thanks manveru
<glenndavy> hey while i’m lucky enough to have your attention, i’ve got a different questino for you if thats ok manveru ?
<manveru> ask away
<glenndavy> any thoughts on this when running bundix?
<glenndavy> /nix/store/5wl8rsa1sy30xrwbjbjip4m47ylm8i7b-bundix-2.4.1/lib/ruby/gems/2.5.0/gems/bundix-2.4.1/lib/bundix/nixer.rb:100:in `serialize': Cannot convert to nix: nil (RuntimeError)
<manveru> sounds like it wasn't able to fetch one of the sources maybe?
<manveru> or a `gemspec` call in the Gemfile might do it
<glenndavy> yes, thats the case
<glenndavy> Gemfile is just calling gemspect
<glenndavy> ok, is there a proper way to manage that?
<manveru> in that case, copy the dependencies from the gemspec into the Gemfile and remove the call
<glenndavy> cool, ok, will do. thanks!
<glenndavy> i’m wondering now if theres many gems in the wild that just call gemspec.. i’ve never really bothered to notice before.
<manveru> there are :(
<glenndavy> oh, dang
<manveru> haven't found a good solution to that yet
<glenndavy> i guess that then adds the complexity of parsing the gemspec, to then reconstruct the gems
<glenndavy> dpeencies
<glenndavy> thanks again.. off to join nix-darwin
<manveru> good luck
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ng0 has joined #nixos
ubert has joined #nixos
brandonhamilton has joined #nixos
<betaboon> good morning
rauno has joined #nixos
shabius has joined #nixos
<Izorkin> Mic92: https://github.com/Mic92/nixpkgs/blob/master/.editorconfig#L9 - this option correct? Used in many files crlf.
ru_horlick has quit [Quit: Connection closed for inactivity]
<Mic92> Izorkin: line-feed is the standard on unixoid systems.
shabius_ has quit [Ping timeout: 258 seconds]
periklis has joined #nixos
wfranzini has quit [Read error: Connection reset by peer]
brandonhamilton has quit [Quit: Textual IRC Client: www.textualapp.com]
jasongrossman has joined #nixos
<Izorkin> Mic92: I open in a text editor * .nix file - the display is displayed clrf
<nyanloutre[m]> Hello, I noticed the job `nixos.iso_minimal.aarch64-linux` is stuck on hydra in trunk-combined
wfranzini has joined #nixos
womfoo` has joined #nixos
<Mic92> Izorkin: if you open nixpkgs/default.nix in a hex editor you see 0x0a which is `\n`
<Mic92> Why would we use the windows convention for line-breaks?
womfoo has quit [Ping timeout: 259 seconds]
<kai_w> is it possible for a program to use the graphics driver (vulkan in this case) at build-time?
<Izorkin> Mic92: It shows on my home system (Windows 10). I thought a bugs
<Mic92> Izorkin: well git on windows convert line feeds if you checkout code.
<Izorkin> ok
<manveru> it'll convert it back when you push :)
<Athas> kai_w: I don't know the answer to that question, but now I am curious. What kind of program needs a GPU to compile?
<ivan> git on windows should be configured to not touch newlines
sigmundv has joined #nixos
<Mic92> It actually prompts the user while installing git to choose an option.
<kai_w> Athas: it's a pet project, which does some asset generation with a compute shader
<kai_w> and I'd like to be able to (a) pre-build them, since they're static, and (b) test my other shaders
cfricke has joined #nixos
random_yanek has quit [Ping timeout: 250 seconds]
mariel__ has joined #nixos
WilhelmVonWeiner has joined #nixos
<WilhelmVonWeiner> how do I modify a package file that would otherwise be in /usr/local/share
random_yanek has joined #nixos
jtojnar has joined #nixos
arjen-jonathan has quit [Ping timeout: 250 seconds]
<srhb> nyanloutre[m]: I don't think it's stuck.
<srhb> nyanloutre[m]: There's still some 200 aarch64 jobs queued for the evaluation I think you're talking about.
<srhb> nyanloutre[m]: And some 5700 in total.
jasongrossman has quit [Ping timeout: 245 seconds]
<srhb> nyanloutre[m]: They're chugging along :)
<nyanloutre[m]> ok :)
<srhb> The sd image one looks more supect...
jasongrossman has joined #nixos
hamishmack has joined #nixos
silver has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
cfricke has joined #nixos
pie__ has joined #nixos
<pie__> if i want to run a phase by referring to an external shell script that uses #! /usr/bin/env bash , what should I do?
<pie__> i thought of that but that seems a tiny bit awkward. if that's the way to do it though I guess I'll just do that
Xal has quit [Ping timeout: 250 seconds]
<pie__> I kind of figured /usr/bin/env bash would just always work :p
johanot has joined #nixos
<pie__> well, I guess bash would have to be in path for that
<pie__> IDK what the build sandbox does?
<pie__> alternatively, installPhase = ". ${runner}";
Xal has joined #nixos
dramforever has joined #nixos
WilhelmVonWeiner has left #nixos [#nixos]
periklis has quit [Remote host closed the connection]
<srhb> pie__: patchShebangs is usually the right way. Why do you consider it awkward?
cfricke has quit [Ping timeout: 250 seconds]
mariel__ has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
mariel__ has joined #nixos
ym555 has joined #nixos
<pie__> srhb, because that means making a copy of the script first, not that that matters much
<pie__> is there some reason firefox would get really slow?
mariel__ has quit [Read error: Connection reset by peer]
mariel__ has joined #nixos
Qubasa has quit [Ping timeout: 245 seconds]
Qubasa has joined #nixos
ThatDocsLady_ has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed 166 commits to gnome-3.32: https://git.io/fjLJi
mariel__ has quit [Remote host closed the connection]
aanderse-work has joined #nixos
alex`` has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed 7 commits to gnome-3.32: https://git.io/fjLJ1
iyzsong has joined #nixos
mounty has quit [Quit: Konversation terminated!]
<aanderse-work> primeos: are you able to backport apacheHttpd?
mounty has joined #nixos
sb0 has quit [Quit: Leaving]
jschievink[m] has joined #nixos
Neo-- has joined #nixos
mekeor has joined #nixos
<pie__> i havent set up pinning on this machine yet, to update i just update my channels and rebuild switch right?
<srhb> pie__: Yes.
<pie__> thanks (i dont use nix-env)
Mrmaxmeier has joined #nixos
ym555 has quit [Quit: leaving...]
kreisys has joined #nixos
<primeos> aanderse-work: Would be great if the maintainers could handle it, they should be able to test it better than I am - you could also cc @lovek323 @peti, and @NixOS/security-notifications on your issue #58947
<{^_^}> https://github.com/NixOS/nixpkgs/issues/58947 (by aanderse, 14 hours ago, open): apacheHttpd: CVE-2019-0211
AntonSchirg[m] has joined #nixos
<aanderse-work> primeos: thanks!
<aanderse-work> mentioning @NixOS/security-notifications doesn't make a link. i assume they will still get notification?
domogled has quit [Quit: domogled]
<aanderse-work> gchristensen: thanks
<aanderse-work> though says page not found when i click...
<gchristensen> you're welcome :)
<gchristensen> oh, interesting
<aanderse-work> private or something?
<pie__> what actually consumes allowSubstituters?
<tilpner> allowSubstitutes, not allowSubstituters
<pie__> yeah I keep making that typo
<tilpner> pie__: Nix queries for allowSubstitutes in src/libstore/derivations.cc+41
<gchristensen> aanderse-work: seems you have to be a member of the org to see it :/
<aanderse-work> ok
<gchristensen> soon, all package maintainers will be a member of the org
<aanderse-work> nice
<{^_^}> rfcs#39 (by grahamc, 11 weeks ago, merged): RFC-0039: unprivileged maintainer team
johanot has quit [Ping timeout: 255 seconds]
waleee has joined #nixos
johanot has joined #nixos
dramforever_ has joined #nixos
dramforever has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Thesola10 opened pull request #58960 → crumbs: init at version 0.0.2 → https://git.io/fjLUQ
GalzuFromQ has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
<GalzuFromQ> Sup
linarcx has joined #nixos
linarcx has quit [Client Quit]
<pie__> to make sure a script is portable, is there any way to check if a derivation needs any paths that are from the store
<GalzuFromQ> I find it interesting the NixOS isn't really hitting on Distrowatch but there's so many people in this chan.
<pie__> idk how distrowatch does statistics but i think most people hear of nix through word of mouth
<GalzuFromQ> I see, I don't even know how I stumbled in here... I was lookin @ the chan list on freenode I think.....
logzet has joined #nixos
<GalzuFromQ> It's interesting bins and libs are in /nix/store...
<goibhniu1> AFAIK distrowatch statistics are purely from the number of hits on the page for a particular distro
<GalzuFromQ> /nix/store/lib /nix/store/bin ?
<GalzuFromQ> Yep goibhniu1
<gchristensen> not quite, GalzuFromQ. my bash is at /nix/store/mcyvp1s45scjkkhyb1m16aqlsb8wr6hs-bash-interactive-4.4-p23/bin/bash
<gchristensen> my ld-linux is at /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/ld-linux-x86-64.so.2
<srhb> gchristensen: I'm sure you have more than one :-P
<GalzuFromQ> Interesting.
<gchristensen> ok you caught me, that bash's ld-linux is at that path :P
<srhb> New game! Who has the most loaders.
<gchristensen> oh dear
<{^_^}> [nixpkgs] @peti merged pull request #58945 → ghc8.6.4: use targetPackages for getting libffi → https://git.io/fjIdH
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjLTk
<srhb> 85 here, apparently.
<GalzuFromQ> I'm not sure I understand the benefit of /nix/store...
<srhb> GalzuFromQ: The very high level/naive answer is that you can now ahve more than one version of one thing installed.
<srhb> GalzuFromQ: But I'm sure introductory materials on the interwebz motivates it better :)
<GalzuFromQ> Ok srhb, that seems it could get messy....
<srhb> GalzuFromQ: Quite the contrary. Everything is nicely isolated.
<gchristensen> GalzuFromQ: it could on other distributions, but NixOS is careful and precise, and not
<gchristensen> by design :)
<GalzuFromQ> Ok.
<GalzuFromQ> I don't see how deps would be handled.
<srhb> GalzuFromQ: But I suppose it's a matter of taste. I find systems where evrey package can pollute the same directory messy :-P
<GalzuFromQ> I probably need to liveusb or vmware it.
<srhb> GalzuFromQ: Yeah, good idea :)
ggpeti has joined #nixos
<GalzuFromQ> "Each package has a unique identifier that captures all its dependencies stored in a cryptographic hash."
<ggpeti> anyone know why builds are in such a bad shape and any plans about it?
<srhb> ggpeti: On hydra? Yeah, being investigated.
<gchristensen> what builds are in a bad shape?
<ggpeti> last finished evaluation of nixpkgs/trunk started on 03-23
<srhb> Lots of machines are currently tied up building what appears to be ghost packages..
johanot has quit [Quit: WeeChat 2.4]
<srhb> ggpeti: Things are slowly chugging along though.
<ggpeti> yeah good thing that one build can satisfy multiple evaluations innit
<GalzuFromQ> They don't have that desktop linux website anymore I guess...
<ggpeti> 2012-05-30 20:41:16 by Eelco Dolstra - If you are experiencing problems, please report them here.
<ggpeti> last message on hydra from 2012 :D
InFlames has quit [Ping timeout: 246 seconds]
<srhb> ggpeti: Battle Tested^tm
everybodyHertz has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #58936 → charliecloud: init at 0.9.8 → https://git.io/fjID6
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjLTC
aanderse-work has quit []
GalzuFromQ has quit [Remote host closed the connection]
aanderse-work has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #58961 → Nauty features → https://git.io/fjLTo
rauno has quit [Remote host closed the connection]
<DigitalKiwi> when there's a project (say like https://github.com/2mol/pboy or lorri for that matter) that you install with `nix-env -if https://github.com/2mol/pboy/tarball/master` ; is there an easy way to manage that with configuration.nix ?
<pie__> is it possible to have another nix store and specify in an expression that the results should be put in the other store?
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @lihop opened pull request #58962 → edb: init at 2019-04-04 → https://git.io/fjLTX
<niksnut> pie__: not in an expression, but you can specify it on the command line, e.g. nix-build --store /path/to/store ...
<pie__> niksnut, ok that probably makes sense
<pie__> niksnut, thanks ill look into that
<mekeor> hello. i installed R with nix. but invoking `Sys.which` function in R results in `Error in system(paste(which, shQuote(names[i])), intern = TRUE, ignore.stderr = TRUE) : error in running command`. as `which` is a run-time dependency of R (see https://github.com/HenrikBengtsson/Wishlist-for-R/issues/36), i was thinking maybe the nixpkgs-definition of R was lacking `which` within `buildInput`. but it is there:
<{^_^}> HenrikBengtsson/Wishlist-for-R#36 (by HenrikBengtsson, 2 years ago, open): Identify all external software and files R uses during runtime
Mic92 has quit [Quit: WeeChat 2.3]
Mic92 has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
nadley has quit [Ping timeout: 245 seconds]
<pie__> niksnut, which man page is that option in? :/
domogled has joined #nixos
lucus16 has joined #nixos
<lucus16> wth, I've been trying for 30 minutes to log in to the result of a build-vm, but no matter how I configure the password, it doesn't work
<lucus16> the password is always wrong, even if it's empty
mconstant has joined #nixos
<lucus16> How am I supposed to log in to a build-vm?
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dramforever__ has joined #nixos
<pie__> lucus16, I have no idea but have you seen https://nixos.org/nixos/manual/#sec-changing-config ? search for "build-vm"
<pie__> there seems to be some sort of warning about wrong users
<{^_^}> [nixpkgs] @markuskowa merged pull request #58887 → sourcetrail: 2018.3.55 -> 2019.1.11 → https://git.io/fjIVc
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjLTN
dramforever__ is now known as dramforever
dramforever_ has quit [Ping timeout: 244 seconds]
<pie__> damn, am I not allowed to sourc eother people's setup hooks? /nix/store/n4ywrn83dhc8smkd7jp3k8hahpl4d9pp-ghidra-9.0/bin/analyzeHeadless: line 2: /nix/store/mbvx601x4nimvscvwn066qv03lbnm3ni-openjdk-8u202bga/nix-support/setup-hook: Permission denied
<pie__> oh wait maybe it doesnt have +x and I'm not sourcing it just running it directly
<gchristensen> sounds like you're trying to execute it
<pie__> yeah i think youre right, *waits for next build*
dramforever has quit [Ping timeout: 250 seconds]
kreisys has joined #nixos
<lucus16> Okay, I've figured it out, it went wrong on 1. if you don't delete the image, the changes don't get applied, 2. for root, if you don't use mkForce, it gets silently overridden, 3. it should be initialPassword, not initialHashedPassword, since "test" is clearly not hashed
ggpeti has quit [Ping timeout: 256 seconds]
<pie__> lucus16, \o/
<lucus16> I was thoroughly confused because without all three of those, it looks like the other fixes aren't working
biopandemic has joined #nixos
arjen-jonathan has quit [Ping timeout: 245 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<pie__> lucus16, yeah things like that are always fun...
arjen-jonathan has joined #nixos
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @markuskowa opened pull request #58964 → openmpi: make build reproducible and fix compiler wrappers → https://git.io/fjLkt
Makaveli7 has quit [Quit: Leaving]
<statusfailed> anyone know why i'd get "failed to parse output of 'ghc-pkg dump' when using nix-shell with cabal2nix and cabal repl?
logzet has joined #nixos
<statusfailed> oh, seems to be something to do with cabal version...hm
nschoe has joined #nixos
<Taneb> How close are we to a 19.03 release?
<statusfailed> nvm, upgrading cabal-install fixed it
<{^_^}> [nixpkgs] @costrouc opened pull request #58965 → pythonPackages.ipdb: 0.8.1 -> 0.12 → https://git.io/fjLkB
<pie__> Taneb, 19th of march 2020
<pie__> just kidding :P <3
<Taneb> I guess going by the 18.09 release we're still on schedule
<jluttine> can i somehow prevent nix-build and nix-shell from changing the process cgroup..?
<nschoe> Hi everyone :) Does anybody know about what's going on with this issue: https://github.com/NixOS/nixpkgs/issues/40706 ? There was a problem with Qt5, this used to be solved, I could build my project for months. Then suddenly, it stopped working again.
<{^_^}> #40706 (by lucas8, 45 weeks ago, open): Broken cmake file with Qt5.10 full
<nschoe> Now the thread looks to be dead. Is there a workaround? Does any of you face the same issue?
rauno has joined #nixos
<{^_^}> [nixpkgs] @marsam closed pull request #57332 → nodejs-slim-11_x: 11.7.0 -> 11.11.0 → https://git.io/fhjU6
<slabity> I don't even see qt510 in my nixpkgs. It just jumps from qt59 to qt511
<slabity> Both qt59.full and qt511.full builds on nixos-unstable.
<infinisil> slabity: I think we only keep older versions around for packages that don't build with the newest one
nadley has joined #nixos
npmccallum has joined #nixos
npmccallum has quit [Remote host closed the connection]
npmccallum has joined #nixos
<pingiun> are forwarded packets allowed by default in the nixos firewall?
<gchristensen> no
<pie__> are we on ipfs yet? https://lizards.opensuse.org/2019/04/03/experimental-opensuse-mirror-via-ipfs/ cant let the other distros get ahead of us ;P
<etu> hydracache on ipfs... :p
<gchristensen> I was talking to the author of that yesterday
<simpson> pie__: I hear that IPFS isn't fast enough for us, but I haven't personally measured.
<nschoe> slabity, ah! This is good to know, I will try and switch to qt511 then.
<pie__> simpson, aw
<pie__> gchristensen, cool, and?
<etu> I'm not sure how that would work...
<gchristensen> pie__, simpson: ipfs can handle writes at a few mb/s
<gchristensen> which is way too slow for hydra
<etu> Since an uploaded resource is immutable
<simpson> gchristensen: Per writing peer?
<gchristensen> tumbleweed does full rebuilds 1-2 times a year, we do full rebuilds once a week or more
<nschoe> slabity, hum, I don't think thi swill actually solve my issue actually. In my shell.nix, I have `qt5.full`, I don't specify which minor version it is, and I was on latest channel a couple of days ago.
<pie__> disclaimer ive never actually used ipfs
<nschoe> I'll try update again, and re-build. But I don't think my issue is going away like this :/
<simpson> pie__: No worries; I'm not sure if there's any overlap between IPFS critique and IPFS usage. It's one of those sorts of technologies.
<pie__> it just seems to be some Cutting Edge Stuff from my very distant view and I'm increasingly interested
<gchristensen> other distros are allowed to be cutting edge in ways too! :)
<slabity> nschoe: Is qt5.full itself failing to build? If you run `nix-shell -p qt5.full` does it succeed?
<pie__> gchristensen, ;P
<pie__> gchristensen, is that the write speed of successful builds though or ...?
<pie__> ^for hydra
<nschoe> slabity, no qt5.full builds, it's when I compile my project with `catkin_make` that I get the error.
<gchristensen> pie__: that is the write speed of ipfs overall, so whatever you're uploading
<DigitalKiwi> gchristensen: when there's a project (say like https://github.com/2mol/pboy or lorri for that matter) that you install with `nix-env -if https://github.com/2mol/pboy/tarball/master` ; is there an easy way to manage that with configuration.nix ?
acarrico has quit [Quit: Leaving.]
<Rusty1> ls
<slabity> nschoe: Sorry. Not sure how catkin_make works.
<gchristensen> bin Downloads projects scratch
<simpson> gchristensen: But not *that* much; try `rate(hydra_store_s3_put_bytes_total[5m])`
jtojnar has quit [Quit: jtojnar]
<simpson> Mm, and zooming in to 1d, same kind of spikiness. Looks like indeed we'd be constantly writing to IPFS, nonstop, and hopefully not lagging.
<nschoe> slabity, okay I understand. But I'm getting the same error as describe there: some plugins wrongly refered to :/
periklis has joined #nixos
<slabity> nschoe: So it specifically says it's missing some sort of *.cmake file?
<nschoe> slabity, I'm re-trying it from scratch, just to make sure I haven't done anythign wrong. I'he just updated my channel. I've just confirmed `nix-shell -p qt5.full` works, and `qmake -query` gives me: "QT_VERSION:5.11.3". So I'm on 5.11. I'm going to try an build my project again and describe the error. I'll get back to you :)
domogled has quit [Ping timeout: 245 seconds]
Makaveli7 has joined #nixos
wfranzini has quit [Remote host closed the connection]
domogled has joined #nixos
o1lo01ol1o has joined #nixos
<jluttine> any ideas how i should modify nixos (pam?) settings to get rid of this error: pam_loginuid(login:session): Error writing /proc/self/loginuid: Operation not permitted
arjen-jonathan has quit [Ping timeout: 246 seconds]
fendor has quit [Remote host closed the connection]
<{^_^}> [nixops] @azazel75 opened pull request #1123 → Allow to add a nixpkgs prefix that isn't a path but a string → https://git.io/fjLIK
fendor has joined #nixos
rauno has quit [Remote host closed the connection]
<nschoe> jluttine, just throwing an idea: can't it be SELinux-related (if you have it installed?)
<nschoe> If not, dismiss what I just said ^^
peacememories has joined #nixos
<jluttine> nschoe: how to easily check if i have it installed or not?
anderslundstedt has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
anderslundstedt has joined #nixos
Makaveli7 has quit [Quit: Leaving]
endformationage has joined #nixos
jabranham has joined #nixos
majewsky has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @midchildan opened pull request #58966 → mikutter: 3.5.14 -> 3.8.6 → https://git.io/fjLLv
aanderse has quit [Remote host closed the connection]
aanderse-work is now known as aanderse
<pie__> wow printing to stdout is real slow, adding -v to nix build adds a whole two seconds :p
<gchristensen> your terminal is slow, yeah
<srhb> pie__: Try xterm :P
<gchristensen> I have a CI job that, if I turn on debug output, takes 4hrs longer
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
Neo-- has quit [Ping timeout: 250 seconds]
<pie__> im using alacritty though :O thats supposed to be fast right?
<pie__> ok maybe its tmux though (?)
<srhb> pie__: alacritty is quite slow compared to xterm.
<pie__> huh.
<srhb> My one grievance about it. :P
<gchristensen> anyway, doing more things makes it slower
jasongrossman has joined #nixos
<adisbladis> gchristensen: Heh :) Had forgotten about that
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #58967 → apacheHttpd: 2.4.38 -> 2.4.39 → https://git.io/fjLLO
knupfer has joined #nixos
<adisbladis> srhb: Is it still like that though?
ggpeti has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 245 seconds]
<srhb> adisbladis: I switched recently to alacritty permanently, and I at least perceive that the latency (but perhaps not bandwidth?) is higher.
<srhb> Like, it's noticeable.
<srhb> But I think xterm is ridiculously fast when it comes to latency.
<pie__> maybe i should switch to xterm
<pie__> :p
<srhb> Granted, that's probably not the relevant metric here :)
<srhb> pie__: It's pretty crap in all other aspects.
<pie__> aw
<adisbladis> Ah right. Input latency is a different beast than throughput
phreedom_ has joined #nixos
<srhb> I could have phrased that differently, I guess, but... :-)
brandonhamilton has joined #nixos
<pie__> ive been getting annoyed recently how almost everything on my machien has high latency
phreedom has quit [Ping timeout: 256 seconds]
<pie__> r e s p o n s i v e n e s s
<adisbladis> pie__: It's one of those things that have only gotten worse over time
<gchristensen> too bad we didn't have a 4/1 thing of NixOS for the c64 -- then it'd be real snappy
<pie__> ive read the danluu post >.>
<srhb> gchristensen: :D
<pie__> 4/1?
<pie__> oh ok
<pie__> i got it xD
<nschoe> jluttine, some info here: https://nixos.wiki/wiki/Workgroup:SELinux
brandonhamilton has quit [Client Quit]
<adisbladis> gchristensen: Nix on Lunix? ;) http://lng.sourceforge.net/
* gchristensen shields his eyes
<pie__> why use linux on a c64 when you could use genera :p
* pie__ shushes people talking about modern ecosystem
<philipp[m]> Hey! Can anybody tell me when 19.03 is going to drop/why it's not out yet? Just to be sure: I'm not demanding anything, I'm just curious :-)
<adisbladis> pie__: Not Linux, Lunix! :)
<pie__> adisbladis, which is apparently linux on c64?
<pie__> or was that a joke? (sorry xD)
<adisbladis> pie__: It's a UNIX on c64, not linux
<gchristensen> philipp[m]: essentially the delay is because the release managers are volunteers with whose day-job has unfortunately timed (for us) lots of work
<gchristensen> philipp[m]: it should be out soon, but unfortunately I don't have specifics beyond "soon"
<pie__> whats blocking?
<srhb> pie__: Not knowing what's blocking, right now :)
<gchristensen> I think the best way to contribute would be to look through changes from the 18.09 tag to the 19.03 tag and see if there are major missing release notes
<srhb> I think we're close and mostly just need to compile a list of outstanding issues and do a final round-up.. But that's just my feeling.
srhb has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d73f16d6767 (from 9 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
srhb has joined #nixos
<jluttine> nschoe: ok, so i suppose i don't have selinux because i haven't set up anything like that
<nschoe> okay
<nschoe> Then sorry I don't really know :/
<jluttine> selinux isn't enabled by default on nixos?
<infinisil> I thought selinux isn't supported at all
<infinisil> rfcs#41
<{^_^}> https://github.com/NixOS/rfcs/pull/41 (by e-user, 3 weeks ago, open): [RFC 0041] SELinux Support
iyzsong has quit [Ping timeout: 264 seconds]
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @petrkr opened pull request #58968 → Trezor luks pk → https://git.io/fjLLy
<srhb> Weird, my postfix is failing to read a file owned by postfix during preStart. Any idea if something odd is going on re. executing user in that phase?
pie__ has quit [Ping timeout: 250 seconds]
<Peter_Storm_> Hmmm, I can't get passed this problem. Just installed the graphical version on a VirtualBox, and got the prompt to make the password and all that, but now it hangs in boot. It's a stock config file. Anyone able to help me? https://usercontent.irccloud-cdn.com/file/w9Kk93Z9/image.png
<srhb> Peter_Storm_: Can you pastebin the config files?
snajpa has joined #nixos
<Peter_Storm_> the one from /mtn?
<Peter_Storm_> mtn
<srhb> Peter_Storm_: Yeah.
detran has joined #nixos
<Peter_Storm_> How do I get at that when it wont boot? Sorry, complete noob here
<srhb> Peter_Storm_: Easiest way is to go back into the installer and remount your filesystems.
<Peter_Storm_> ah of course, thank you, I'll try tjhat
<infinisil> srhb: Re postfix: Maybe try debugging with namei (can list permissions for all path components)
<infinisil> Or I guess just check all path components yourself
<srhb> infinisil: Hmm, yeah. Looks like a red herring though, sudo -u postfix cat /etc/postfix/thatFile works fine -- but postmap fails with fatal: open database ... permission denied
<srhb> MAybe something's weird because it's a symlink into nixops keys..
<srhb> But.. Only during preStart.
majewsky has quit [Quit: leaving]
<infinisil> strace -e open=file might help with debugging
<srhb> Sounds like a plan.
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<Peter_Storm_> Huh, how do I actually copy something from vim to the clipboard of the virtualbox and then out :D sorry again, such a noob
<srhb> Peter_Storm_: No idea, it might be easier to open the ssh server and ssh in with your regular tools.
<Peter_Storm_> ah yeah
<srhb> Or just use some pastebin you can curl the file at or something :-P
<slabity> Peter_Storm_: Clipboard sharing with a VM typically requires special guest drivers
<srhb> infinisil: Red herring indeed. /etc/postfix is a link to /etc/static/postfix (of course...) -- so when it tries to generate the db file at runtime, it barfs. Derp, silly me. :)
<Peter_Storm_> I found something called pastbinit, and it worked :D
jasongro` has joined #nixos
<srhb> Peter_Storm_: And the hardware config?
<pingiun> What's a good location for files like users.users.<name>.passwordFile ?
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<Peter_Storm_> srhb: https://pastebin.com/YXZfHSr8
infinisil has joined #nixos
periklis` has joined #nixos
<srhb> pingiun: No restriction really.
jasongrossman has quit [Ping timeout: 245 seconds]
<pingiun> the users home directory seems like a bad idea tho
<pingiun> is /etc/nixos/ a better idea?
periklis has quit [Ping timeout: 246 seconds]
<srhb> pingiun: That's fine, yes.
<pingiun> ok thanks
<jluttine> Is NixOS disallowing setuid in systemd services somehow? Service runs as root user but setuid raises an error.
<srhb> Peter_Storm_: Nothing springs to mind. Maybe try disabling the guest additions?
<Peter_Storm_> srhb: how do I do that?
<srhb> Peter_Storm_: Edit hardware config, set it to false (or comment it out) -- run nixos-install again (ensuring you have everything mounted)
<Peter_Storm_> ok, cheers I'll try that
bbarker has joined #nixos
jasongro` has quit [Ping timeout: 268 seconds]
npmccallum has quit [Quit: npmccallum]
mehran has joined #nixos
<mehran> how can i update my intel cpu microcode?
npmccallum has joined #nixos
<srhb> jinx
dhkl has joined #nixos
<eyJhb> srhb: that was a hell of a long meeting!
Tucky has quit [Quit: WeeChat 2.2]
<srhb> eyjhb: Oh, right... :-P
<mehran> srhb & adisbladis: i read them already but i don't know how exactly use this option.
<pingiun> why should passwordFile be a string type and not path?
<srhb> mehran: Set it to true , rebuild switch and reboot :)
<adisbladis> mehran: Put that in your configuration.nix and do "nixos-rebuild switch"
<{^_^}> [nix] @kalbasit closed pull request #2756 → manual: fix the hacking section → https://git.io/fjIhh
<srhb> eyjhb: I'll have a look later, currently mucking with an obstinate mail server..
<eyJhb> If anybody can help, I am trying to get Go 1.12 to work, using the stable but picking out Go from the unstable channel. But I get a permission denied on the homeless-shelter... But it SHOULD be using the latest version
<eyJhb> srhb: I have PTSD regarding mail servers. I will never ever setup a mail server again
<srhb> eyjhb: No kidding.
<eyJhb> I think I did it like ... 5-7 years ago when I was around 12, and I still have nightmares when someone mention it
<srhb> I basically just want a sendmail that will go through mailgun, thankfully. But still, postfix is being Weird Arcane Oldendays software.
ddellacosta has joined #nixos
<slabity> eyjhb: Still having issues even with a specific `-I` path?
<eyJhb> slabity: I can use `nix-shell -I nixpkgs=nixpkgs/ -p go`, but that's it.. :|
<eyJhb> srhb: even that sounds like NO FUN... At all! - Setting it up using NixOS?
<srhb> Yeah.
<eyJhb> That just sounds like double trouble
<srhb> I think I'll try opensmtpd instead or something..
<srhb> Or just.. hack my own sendmail wrapper >_>
<eyJhb> srhb: that just sounds like suicide with extra steps my friend...
<srhb> Thanks, very encouraging :P
<eyJhb> Nooo problem! :D Always got your back ;) :p
jabranham has quit [Ping timeout: 268 seconds]
<eyJhb> Is there any good simple Python application I can use as a template?
<infinisil> > types.path.check "/foo"
<{^_^}> true
<infinisil> > types.path.check /foo
<{^_^}> true
<infinisil> > types.str.check "/foo"
<{^_^}> true
<infinisil> > types.str.check /foo
<{^_^}> false
<infinisil> pingiun: ^^
<infinisil> pingiun: types.str doesn't allow such paths, because when those would be used as a string, Nix would import their contents into the nix store
<infinisil> And you don't want that for passwordFile's
<pingiun> makes sense, thanks!
<infinisil> I guess a separate `types.runtimePath` to indicate that would be nice
ddellacosta has quit [Ping timeout: 255 seconds]
mekeor has quit [Ping timeout: 246 seconds]
<eyJhb> How can I get fetchgit, to checkout a specific commit? There are no tags, releases, etc.?
<{^_^}> [nixpkgs] @Infinisil merged pull request #58967 → apacheHttpd: 2.4.35 -> 2.4.39 → https://git.io/fjLLO
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-18.09: https://git.io/fjLtD
<therealwaphire[m> umm, got a question for you people who migrated from other distros. What's the KDE experience, like, on NixOS compared to another ddistro like Arch, Fedora or KDE Neon?
<slabity> eyjhb: I believe you can use the commit sha as the revision. Might be wrong though
dhkl has joined #nixos
dhkl has quit [Changing host]
<Taneb> How can I make an overlay to override a Python library with the library from a different version of nixpkgs?
erasmas has joined #nixos
hlolli has joined #nixos
<Taneb> Trying to do it the obvious but ugly way gives me "Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS"
<infinisil> Taneb: Probably with `foo.overrideAttrs (old: { src = (import /other/nixpkgs {}).python.pkgs.foo.src; })`
<eyJhb> slabity: thanks ;) Now... What is the best way to say package X requires Y to be present?
<infinisil> And adjust name+version if you want to be clean
jasongrossman has joined #nixos
<infinisil> eyjhb: In Nix you want to build this into the derivation build for X directly. E.g. if X requires some binary of Y to be present in $PATH, you could wrap X with a wrapper that adds Y to PATH
<eyJhb> infinisil: any good example on this for a python package?
<{^_^}> [nixops] @mwilsoninsight opened pull request #1124 → Allow GCE VMs to be reached by private IP address if specified → https://git.io/fjLtN
<infinisil> eyjhb: Can you give some more context? Hard to give an idiomatic example if I don't know where/how it is defined and where you need it
sumTimes has joined #nixos
<eyJhb> infinisil: https://termbin.com/j5nv trying to implement curseradio, but I need it to have mpv available at /usr/bin/mpv
jabranham has joined #nixos
<infinisil> eyjhb: is that hardcoded?
<eyJhb> infinisil: somewhat hardcoded yes, but currently, I just want mpv to be available in the container as "mpv", but yes the script DOES hardcode /usr/bin/mpv, but that can `easily` (I will properly fuck it up) be changed in a patch
<{^_^}> [nixpkgs] @veprbl opened pull request #58969 → pythonPackages.awkward: 0.8.7 -> 0.8.14, enable more tests → https://git.io/fjLqJ
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
linarcx has joined #nixos
<infinisil> eyjhb: Nah that's *actually* very easy: `postPatch = '' substituteInPlace curseradio.py --replace /usr/bin/mpv ${mpv}/bin/mpv '';`
<eyJhb> infinisil: I will most definitely fuck it up either way :p But what is the best way, to make mpv available still?
<Taneb> infinisil: thanks, I'm giving that a go
<infinisil> eyjhb: There's no way to screw that up, just copy paste that line I gave and it will work
<infinisil> eyjhb: In Nix we don't put binaries in /usr/bin, it's literally impossible to define that for a package somehow
<eyJhb> infinisil: It was REALLY close, but it got fucked up. But I fixed it :p Works now
<eyJhb> But now it points to the correct mpv in /nix/store, correct?
dhkl has quit [Quit: WeeChat 2.4]
<eyJhb> (I just needed to change curseradio.py to curseradio/curseradio.py, thanks :D )
<infinisil> Ahh :)
<infinisil> Yeah it points to the one in /nix/store
<infinisil> You can check it by just looking at the built result
dhkl has joined #nixos
<eyJhb> infinisil: works great! - Is it correct to put it under applications/audio/curseradio? Seems like radio is for SDR stuff
regulus_ has joined #nixos
<infinisil> eyjhb: Those categories are a mess anyways, applications/audio sounds fine
knupfer has quit [Ping timeout: 240 seconds]
<eyJhb> And is there any format in all-pkgs.nix I need to follow? Doesn't seem like much format/structure
<eyJhb> all-packages.nix**
<infinisil> Yeah that's a mess too, there is a little bit of structure, see the comment at the top
<infinisil> Just try to keep the ### section correct and make it somewhat alphabetical
rauno has quit [Ping timeout: 264 seconds]
<eyJhb> That is somewhat.. Impossible... BBBB C P CCCC etc.....
domogled has quit [Quit: domogled]
<eyJhb> BBB CCC again.. Holy hell
jasongrossman has joined #nixos
<immae> Hello there! I build a lot of stuff in my nix-profile, but I would like to "store" my configuration there too, is there some tools that attempt to do that at a user level? (like nixos does in /etc). Even work in progress or buggy is fine for me, I’m just wondering if something is done in that domain
<infinisil> eyjhb: Yeah lol
<infinisil> ,home-manager immae
<{^_^}> immae: home-manager allows you to manage your per-user configuration similarly to NixOS's configuration.nix <https://nixos.wiki/wiki/Home_Manager>. It can also be used in your NixOS configuration directly, see <https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module>
<immae> ha
<immae> Nice, thanks infinisil
<infinisil> A lot of people use home-manager, me included :)
<immae> cool
<immae> Looks like exactly what I wanted :D
Ralith_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eyJhb opened pull request #58970 → curseradio: init at 0.2 → https://git.io/fjLqu
<eyJhb> infinisil: another package for nixpkgs ;)
<infinisil> Nice, just put it on the pile of open PRs back there *points at 3 meter tall stack of paper*
<eyJhb> Well, you need something to do as well, don't you? ;)
<eyJhb> And it's more like 58 pages of PRs :D :D
<infinisil> So many..
<eyJhb> Shouldn't old PRs be closed, like ones from 2014?
wolfman154 has joined #nixos
wolfman154 has quit [Client Quit]
<gchristensen> some of them have good stuff in them, and would still like to be merged -- even if they are quite old
<gchristensen> there is no definitely right time to close old PRs/issues just because they are old, and there is no cost to having them open I think
<infinisil> Well I think we could close some older ones that don't seem to progress anymore. You could always reopen them again later
<eyJhb> Would it hurt to ping a PR every X month, and if no reply close it? Then if it is somewhat important, one could easily just "ping" it to stay open
<srhb> Seems like that might get annoying pretty fast..
<matthewbauer> yeah if there are any that are obviously obsolete, it might make sense to close them, but this should be left to the PR author
<srhb> I don't see the harm of open PRs anyway.
<matthewbauer> feel free to mention people in old prs if you think they can be closed. usually authors just forget about them
<gchristensen> I think it can be rude and upsetting to just close issues / PRs, especially if they're still relevant in some way (thanks for closing my issue, its still a bug you jerk)
<{^_^}> #26537 (by disassembler, 1 year ago, open): lifelines: init at 2017-06-12-unstable
<{^_^}> #29478 (by CarlOlson, 1 year ago, open): roswell: init at version 17.9.10.82
<betaboon> is there some way to support reviewing of PRs? i would love to, but i feel kinda intrigued as to if i would fulfill the standard that other reviewers do.
<eyJhb> Well, many others do that, to free the clutter. Because as mentioned, people just forget about it
<linarcx> Gyus. i've create a package in nixpkgs repo. It merged 10 days age. but i can't search it via `nix search -u`. why?
<linarcx> The log of hydra is: https://hydra.nixos.org/search?query=vazir
<srhb> linarcx: Channels haven't updated, most likely
<eyJhb> linarcx: depends on which channel you are running?
<srhb> ,howoldis linarcx
<linarcx> srhb: I'm on unstable channel.
<srhb> Which hasn't updated for a looong time.
<linarcx> why?
<srhb> linarcx: Follow the link above to diagnose the issue :)
wolfman154 has joined #nixos
<infinisil> betaboon: Just testing the relevant parts is a great help, maybe you can mention that you haven't reviewed the code
<srhb> linarcx: Short story, tests failed or have not completed yet, and evals are still going. And update is likely in the next few days, if aarch64 catches up.
<srhb> linarcx: (The eval most likely to succeed is 217 jobs away from completion)
turion has joined #nixos
<infinisil> betaboon: I've created #58098 which would add some simple instructions for helping with reviewing PRs
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58098 (by Infinisil, 1 week ago, open): PULL_REQUEST_TEMPLATE: Add encouragement to review PRs
<linarcx> srhb: If you remember i first upload a package and you merged it and after some few days(3 or 4 days, i can't remembere)it's availabe for me.
<srhb> linarcx: This one, specifically: https://hydra.nixos.org/build/91611391
<srhb> linarcx: Hydra has its ups and downs
<eyJhb> srhb: is there any way to help the build process/evaluation? I guess it is only official servers, right?
<srhb> linarcx: Sometimes, like in this case, a bad commit is merged that prevents channels from advancing.
<srhb> eyjhb: Yes, they have to be trusted quite a lot.
mehran has quit [Quit: leaving]
<turion> What's the correct way to update a service like Nextcloud, installed via setting services.nextcloud.enable = true;?
<srhb> linarcx: So then that has to be reverted, and new evals run, and they may fail, etc. etc.
<eyJhb> srhb: damn, else it would be awesome. Have quite some server I could use every once in a while... But, not all the time etc..
<eyJhb> I would guess it could take out quite some of the jobs
<betaboon> infinisil: couldnt there be like a junior/senior-cooperative kinda thing? eg: ppl sign up to be junior reviewers (maybe meeting some criteria, like having successfully provided PRs), those ppl get the permission to attach like a `junior-review-done` label, and then seniors could pick those up? that might help train a group of ppl to do reviews.
<srhb> eyjhb: We do actually have a ton of building power for x86_64-linux
<srhb> eyjhb: That's rarely an issue.
<eyJhb> Do we need an army of Raspberry Pis then? ;)
<srhb> Possibly! I don't actually know what we're short on if anything. I know some people would love to promote some arm stuff if we had a lot more processing power
<srhb> Though I doubt raspis can cut it :P
<eyJhb> Tshhh... OpenCV takes like 3-4 hours to build on a RPi.. Wow.. I don't even want to think about VirtualBox.... That would be... Inhumane to try and run on a RPi
<betaboon> srhb: how about those aws-arm instances?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<srhb> betaboon: Sorry, I'm not the right person to ask. I'm not in the infrastructure team (yet?) :P
<eyJhb> I have a Go program for a algorithm class, that I optimzied from 2 secs to 0.2s.. But it still takes 3.5s on a RPi...
<betaboon> i would realy love to help more. i could offer one man-day a week :)
<eyJhb> betaboon: wish I had all that time
ubert has quit [Remote host closed the connection]
<srhb> betaboon: Definitely appreciated!
<{^_^}> [nixpkgs] @witkamp opened pull request #58972 → gcc-arm-embedded: add darwin support → https://git.io/fjLqA
Ralith_ has joined #nixos
<wolfman154> Could you guys send me a link for the xserver touchpad settings(libinput) I cannot find it in the manual. I want make my touchpad like how it is in gnome3, do any of you guys know the syntax , and paste bin it?
orivej has joined #nixos
<srhb> wolfman154: https://nixos.org/nixos/options.html -- search for libinput?
<betaboon> i guess I'll try to start working through PRs whenever i have time then :)
<srhb> betaboon: If you need second eyes, feel free to ping here :)
<srhb> Especially if it's just confidence hand-holding xD
<wolfman154> srhb: thanks
<wolfman154> srhb++
<{^_^}> srhb's karma got increased to 49
linarcx has quit [Ping timeout: 246 seconds]
<immae> infinisil++
<{^_^}> infinisil's karma got increased to 76
<nschoe> slabity, hi again, I have started everything from scratch, and I did stumble on the same error: https://gist.github.com/nschoe/0ab98a5e015edf841e735b17a86fba9f
linarcx has joined #nixos
turion has quit [Ping timeout: 250 seconds]
<nschoe> nix-shell -p qt5.full does work, it's when I include Qt as a dependency in a CMakeLists.txt that it fails immediately (find_package(Qt5Widgets REQUIRED)).
<wolfman154> srhb: is there another link to the options for home-manager, I think they are different?
turion has joined #nixos
<{^_^}> [nixpkgs] @scalavision opened pull request #58973 → Singularity, support multiple versions → https://git.io/fjLmt
<infinisil> wolfman154: Nope home-manager doesn't have support for this, NixOS' options will work perfectly fine
<{^_^}> [nixpkgs] @magnetophon opened pull request #58974 → qsynth: 0.5.2 -> 0.5.5 → https://git.io/fjLmY
sumTimes has quit [Ping timeout: 256 seconds]
<wolfman154> infinisil: I noticed the syntax of some of the options were different, that’s why I’m asking
<matthewbauer> nschoe: that's probably a bug. could you open an issue?
ThatDocsLady_ has quit [Quit: Leaving]
__monty__ has joined #nixos
<eyJhb> srhb: but you could run the grahambot on my curseradio to see if it passes ;):p
<nschoe> matthewbauer, thanks for your answers. Actually back in the day I alreayd had opened one here: https://discourse.nixos.org/t/cmake-locations-mixed-with-qt5-10-full/525 and also there is this one: https://github.com/NixOS/nixpkgs/issues/40706.
<{^_^}> #40706 (by lucas8, 45 weeks ago, open): Broken cmake file with Qt5.10 full
<nschoe> matthewbauer, the weird thing is that this was solved a couple months ago (and I could dev for months), but recently (~ 2 months) it appaeared again. But in this thread, I see some commits being made to solve it. And I'm wondering what's the state of this.
<turion> What's the correct way to update a service like Nextcloud, installed via setting services.nextcloud.enable = true;?
<betaboon> srhb: will do :)
<{^_^}> [nixpkgs] @cillianderoiste merged pull request #58952 → meters.lv2: 0.8.1 -> 0.9.10 → https://git.io/fjIAu
<{^_^}> [nixpkgs] @cillianderoiste pushed 2 commits to master: https://git.io/fjLmn
rcshm has joined #nixos
<nschoe> turion, update your channel and run nixos-rebuild?
<wolfman154> Do you guys know when nixos 19 is going to be set to stable?
<linarcx> srhb: Thank you so much.
<therealwaphire[m> <wolfman154 "Do you guys know when nixos 19 i"> you can already start using it. I've been using for a month now without any major headache
<gchristensen> wolfman154: it should be out soon, but unfortunately I don't have specifics beyond "soon"
<wolfman154> Ok , sounds good
<wolfman154> therealwaphire[m++
<{^_^}> therealwaphire[m's karma got increased to 1
<therealwaphire[m> is there a way I can directly install `home-manager` through my configuration.nix while installing the system itself?
<wolfman154> gchristensen++
<{^_^}> gchristensen's karma got increased to 96
<wolfman154> infinisil++
<{^_^}> infinisil's karma got increased to 77
<wolfman154> srhb++
<{^_^}> srhb's karma got increased to 50
<eyJhb> Can everybody get karma like that?!
<wolfman154> Yes
srl295 has joined #nixos
<eyJhb> Need to earn some sometime soon
<infinisil> wolfman154: I know you like giving karma, but you don't need to give karma whenever somebody answers you..
<nschoe> matthewbauer, any idea?
<eyJhb> infinisil++
<{^_^}> infinisil's karma got increased to 78
<eyJhb> :p
jomik has joined #nixos
<jomik> Anyone her using the linux-ck kernel in NixOS?
<turion> nschoe: Maybe... that's the question. I have the feeling like I could break my state.
<eyJhb> turion: always able to return to previous state
<nschoe> turion, you cannot really break much: first run `nixos-rebuild build`: it will simply try to build the new state. If it fails for whatever reason: no issue, it was just a build, nothing was done.
<turion> Nope
<eyJhb> Just be happy you are not forced to use displaylink driver....
<eyJhb> "forced" -> want to use a third screen, so forced to use their shitty driver
<turion> Look at how nextcloud is defined, it creates systemd jobs that mutate your disk
<nschoe> turion, if it succeeds, then `nixos-rebuild test` allows you to test it without swithcing to it. And then `switch` will switch it. But you can always go back to the previous state in GRUB.
<turion> Unfortunately not
<nschoe> turion, well whatever Nextcloud does is independant of nixOS. You would have the same disk mutation on any other system.
<turion> No, it's nixos that does it
<turion> It will only change back everything that's symlinked. But enabling that option also copies files around via a systemd job
<turion> I was very surprised when I found out
<wolfman154> rycee: do I need to add this: xsession.windowManager.command = “xmonad”; ?
<wolfman154> rycee: to home-manager. ?
jabranham has quit [Remote host closed the connection]
<nschoe> turion, sorry then I am not good enough at nixos to help you :/
<turion> That's what I meant. It runs a script that meddles with your nextcloud directory
<turion> But it also runs occ upgrade so it's probably what I want...?
<nschoe> turion, indeed, this looks weird. But then again, I'm not sure I can really be of help.
<nschoe> I don't want to mess up your system :/
<eyJhb> turion: take a backup and rollback if you need to?
<eyJhb> Don't hink you can do much else
<turion> Yeah probably
<turion> I'd just like this stuff to be documented
jackdk has quit [Remote host closed the connection]
<turion> Maybe it's completely safe and the right thing to update
detran has quit [Ping timeout: 245 seconds]
<nschoe> turion, how about a stupid cp -r for a backup and see how it goes after the udpate?
<matthewbauer> nschoe: most likely the patch isn't doing the right thing any more. we probably just need to add another case
<{^_^}> [nixpkgs] @cillianderoiste merged pull request #58974 → qsynth: 0.5.2 -> 0.5.5 → https://git.io/fjLmY
<{^_^}> [nixpkgs] @cillianderoiste pushed 2 commits to master: https://git.io/fjLm7
<rycee> wolfman154: No, you do not need to set that option yourself.
Myhlamaeus has joined #nixos
fendor has quit [Ping timeout: 250 seconds]
<wolfman154> rycee: are you talking about the command option?
<pingiun> int to string function?
<pingiun> nvm, toString
<nschoe> matthewbauer, Probably yes. I have tried using a more recent version of the nixpkgs than the channel, and I used qt512 instead of qt511 and it works now :)
turion has quit [Ping timeout: 250 seconds]
clefru has quit [Quit: WeeChat 2.4]
<rycee> wolfman154: Yeah
<matthewbauer> nschoe: oh interesting. if you can track down the fix, we can definitely backport it to 18.09, etc.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b306b4cf1a9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Thra11 has joined #nixos
<nschoe> matthewbauer, what I noticed is that files 'qtbase-fixguicmake.patch' are identical in 5.11/ and 5.12/ but the files 'qtbase.patch' are different. so my guess is that the fix is hidden in there.
Glider_IRC_ has joined #nixos
<jomik> Oh, sorry, that is what you said rycee XD I just saw the `yeah` :P
<wolfman154> jomik++
<{^_^}> jomik's karma got increased to 1
Mithror has joined #nixos
Glider_IRC__ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @gilligan opened pull request #58976 → Remove nodejs-6_x which is about to enter EOL → https://git.io/fjLYq
Ariakenom has quit [Ping timeout: 255 seconds]
sigmundv has quit [Ping timeout: 255 seconds]
dbmikus has joined #nixos
<{^_^}> [nixops] @PsyanticY opened pull request #1125 → return allocation ID for ec2 elastic ip resource id → https://git.io/fjLYn
nschoe has quit [Quit: Program. Terminated.]
drakonis has joined #nixos
judson has joined #nixos
gilligan_ has joined #nixos
thefloweringash has quit [Ping timeout: 264 seconds]
swerlk has joined #nixos
thefloweringash has joined #nixos
apeyroux has joined #nixos
<apeyroux> @gchristensen Hello, I would like to have more precision on this tweet if possible: https://twitter.com/grhmc/status/1112531870074454017
<gchristensen> hi apeyroux I guess you are 0xapx?
<apeyroux> "or self-contained executable archives" you're thinking about buildDeb?
<apeyroux> yes :)
<{^_^}> [nixpkgs] @illegalprime opened pull request #58977 → writeShellScriptBin: use build-time shell in check phase → https://git.io/fjLYo
<apeyroux> Thanks, I'll check it out.
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/ef28995795d (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/58efb6980fb (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
rauno has joined #nixos
<srhb> rejoice, channel moveage.
* aanderse waits for nixos-18.09 channel moveage
npmccallum has quit [Quit: npmccallum]
npmccallum has joined #nixos
waleee has quit [Quit: WeeChat 2.4]
npmccallum has quit [Client Quit]
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @eri451 opened pull request #58978 → torcs: anonscm.debian.org has moved → https://git.io/fjLYH
jonreeve[m] has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @illegalprime opened pull request #58979 → perl: substitute /bin/pwd with host pwd → https://git.io/fjLY7
jpo-joyent has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ehmry merged pull request #58978 → torcs: anonscm.debian.org has moved → https://git.io/fjLYH
<{^_^}> [nixpkgs] @ehmry pushed commit from @eri451 to master « torcs: anonscm.debian.org has moved »: https://git.io/fjLYA
periklis` has quit [Ping timeout: 246 seconds]
philippD has joined #nixos
jpo-joyent has joined #nixos
thaddeusmaddeus[ has quit [Ping timeout: 264 seconds]
rauno has quit [Ping timeout: 250 seconds]
thaddeusmaddeus[ has joined #nixos
mehran has joined #nixos
<apeyroux> I am interested in static compilation with pkgsMusl which would be the best solution for me to redistribute bin outside nix. But I have prob with some haskell lib that doesn't compile... :(
<o1lo01ol1o> nixops deploy foo -> error: a 'x86_64-linux' is required to build [...] but I am a 'x86_64-darwin'
<{^_^}> [nixpkgs] @benley opened pull request #58980 → tilingnome: init at 2019-01-18 → https://git.io/fjLOU
<o1lo01ol1o> The target machine is linux, why doesn't the package build there?
<mehran> is there any declarative way to change my system icon theme?
<infinisil> apeyroux: #43795 is relevant
<{^_^}> https://github.com/NixOS/nixpkgs/issues/43795 (by nh2, 37 weeks ago, open): Fully static Haskell executables - overview issue
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/58efb6980fb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<nh2> apeyroux: tell me what your prob is
<srhb> o1lo01ol1o: What about the source machine? The builder needs to be linux, in this case.
<srhb> o1lo01ol1o: And source ~ builder, here.
<wolfman154> rycee: if I install home-manager from nixos packages, do I still need to go through the other manual steps or is everything done automatically?
<o1lo01ol1o> srhb: the builder is darwin; I thought I had seen examples of building on the target if source architecture was incorrect
<srhb> o1lo01ol1o: This exists, but is not the default behaviour for sure.
goibhniu1 has quit [Ping timeout: 255 seconds]
<o1lo01ol1o> srhb: is there a way to specify my two expressions should be built on the target?
vmandela has joined #nixos
goibhniu1 has joined #nixos
<srhb> o1lo01ol1o: The easiest solution is probably to set up a remote builder that supports Linux (I think you can even do this as, say, a docker container)
<srhb> o1lo01ol1o: Then, any builds that require linux will be routed there.
drakonis has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
Czen has quit [Remote host closed the connection]
mehran has quit [Quit: leaving]
<jomik> wolfman154: My xmonad config exists here: https://github.com/Jomik/dotfiles/blob/master/.config/nixpkgs/configurations/xmonad.nix I expose dependencies to xmonad so that I can use them in Haskell, you can see how I chose to do it in that repo.
<jomik> I don't use Xmonad currently though.
dhkl has quit [Ping timeout: 245 seconds]
Czen has joined #nixos
<o1lo01ol1o> srhb: cool, I'm digging through github threads now
<wolfman154> jomik++
<{^_^}> jomik's karma got increased to 2
<jomik> wolfman154: Seems like home-manager in nixpkgs is just a binary, no configuration wolfman154 . So you would want to configure it as well.. I personally have a home-manager channel that I can choose to update.
<aanderse> anyone running 19.03 and notice huge openssl collisions?
<jomik> aanderse: I use 19.03 beta and have had no issue so far :o
<dminuoso> Hiya. Whenever I use nix-env, Im getting this warning: name collision in input Nix expressions, skipping '/home/dminuoso/.nix-defexpr/channels_root/unstable'
<dminuoso> Can someone explain to me, in technical terms, why that is?
<aanderse> jomik: well not problems
<aanderse> just loads of collisions on rebuild
<jomik> Ah. I didn't check. I normally just start a rebuild and then leave it be till its done... Lol
judson has quit [Ping timeout: 250 seconds]
gilligan_ has quit [Quit: Leaving]
<apeyroux> nh2: my problem is with hasql I have an error with "gshadow.h: No such file or directory".
jomik has quit [Quit: WeeChat 2.4]
freeman42x has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
halvard has joined #nixos
<halvard> Hello when I install nix and it tells me the install was successful and I can try it by closing and opening a new terminal I get this error nix-sell: Command not found.. is this a known issue?
<halvard> Also nix-build give me the same output, obviously
<ldlework> halvard: nix-sell? whatt'reya buyin'?
<infinisil> Hehe
<nh2> apeyroux: one moment, need to answer a quick question of my colleague, will respond in a bit
<infinisil> halvard: It should have put some initialization code in ~/.bash_profile, ~/.bash_login or ~/.profile, is something nix related in any of these files?
<apeyroux> nh2: no problem, I've been on it for 2 days so it can still wait... :)
<halvard> nix-shell* lol
<halvard> It did, but I deleted the previous nix install to download the multi-user daemon
zupo has joined #nixos
<halvard> This last install told me specifically to delete those codes in ~/.profile
<apeyroux> halvard: did you add ". $HOME/.nix-profile/etc/profile.d/nix.sh" in your bashrc?
<halvard> No, what's bashrc?
<apeyroux> echo ". $HOME/.nix-profile/etc/profile.d/nix.sh" >> ~/.bashrc
<halvard> Nothing
<halvard> literally
<halvard> that's my .bashrc
drakonis has joined #nixos
<gchristensen> gist.github.com works nicely and doesn't require a <?php ?> :)
<rycee> wolfman154: As far as I know the home-manager package in Nixpkgs is unmaintained. I would recommend against using it since it is likely to be out-of-date most of the time.
<nh2> apeyroux: well the build for `systemd` fails, interesting
<halvard> gchristensen, HAH! thanks for the pro tip :D
<nh2> apeyroux: What method are you using, are you using https://github.com/nh2/static-haskell-nix? I can build `hasql` with that, and it does not recursively depend on systemd in the version of nixpkgs I use
<apeyroux> nh2: I have seen your project but I don't see how to integrate it with my project. I tried with cachix... but it doesn't work. I have to miss something.
<apeyroux> nh2: I have to use survey/default.nix?
<nh2> apeyroux: yes, best would be if you cloned my project, added your package to `survey.nix` (e.g. next to `xmonad =`), and built it with the example invocation from the README mentioning `haskellPackages`
<nh2> apeyroux: I have a lot of overrides in there that aren't in upstream nixpkgs `pkgsMusl` yet, so I recommend to first do it via static-haskell-nix and then we can work our way back up to make it work in upstream nixpkgs as well
erasmus has joined #nixos
tboston_ has joined #nixos
fendor has joined #nixos
<nh2> apeyroux: also, unrelated, avoid using `src = ./.` unless you can guarantee that the source directory never contains any non-source files, otherwise you might add binary artifacts to your build and in the worst case (if you have a dist/ directory) get weird build errors. Instead use builtins.path with a filter, see https://github.com/NixOS/nix/issues/1305#issuecomment-415902068
arjen-jonathan has joined #nixos
<nh2> apeyroux: also, if you elaborate on `I tried with cachix... but it doesn't work` I can try and help figure it out
<{^_^}> [nixpkgs] @matthewbauer merged pull request #58977 → writeShellScriptBin: use build-time shell in check phase → https://git.io/fjLYo
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjLO5
mojjo has joined #nixos
<apeyroux> nh2: ok i try with atrc-audit = self.callCabal2nix "atrc-admin" /home/alex/src/atrc-audit {};
fendor has quit [Ping timeout: 245 seconds]
<mojjo> does anyone have an idea, why `nixos-rebuild ..` does not terminate anymore, or only after a couple of min in the last phases (restarting services, setting up tmp files). Usually I cancel the process then as the switch already happened, but it's a bit odd - even more that it happens on two different machines (with almost identical hardware though and equal config)
slack1256 has joined #nixos
tboston_ has quit [Ping timeout: 245 seconds]
<buckley310> mojjo: perhaps a service is hanging during shutdown
<buckley310> try rebuilding and letting it finish, and see if the journal has any messages right when the command returns
<apeyroux> nh2: and i have this err: error: creating directory '/nix/var': Permission denied
<apeyroux> nh2: on the other hand I can see that cachix works :)
<{^_^}> [nixpkgs] @Mic92 opened pull request #58982 → pdns-recursor: 4.1.11 -> 4.1.12 (security) → https://git.io/fjL3J
<apeyroux> nh2: ** need a revision for VCS when the hash is given. skipping.
mulderr_ has quit [Quit: leaving]
mulderr has joined #nixos
<nh2> apeyroux: I don't understand the last sentence
<mojjo> buckley310: ok, I'll try this.. So it's 'setting up tmpfiles' now.. taking ages........ which command would you recommend when its done?
<nh2> apeyroux: for your nix issue: Running what command brings up that permission denied error? Also, do you run on NixOS or another OS?
goibhniu2 has joined #nixos
<buckley310> mojjo: just run `sudo journalctl -f` before the command returns, and it will tail the journal
goibhniu1 has quit [Ping timeout: 245 seconds]
mconstant has quit [Ping timeout: 250 seconds]
lovesegfault has quit [Quit: WeeChat 2.4]
<apeyroux> nh2: NixOS, I see that others have my problem. I'll look at it
Xal has quit [Ping timeout: 258 seconds]
halvard has quit [Quit: Leaving]
<slabity> Is there a quick and easy way to create a single-file derivation from a string?
<slabity> Like a config file?
<mojjo> `writeText "myfile" "content"`
<slabity> Thanks. Those are exactly what I'm looking for.
Xal has joined #nixos
<mojjo> buckley310: Great, I think this spotted the cause: some virtual box weirdness: https://pastebin.com/KALJYajT
jabranham has joined #nixos
cyraxjoe has quit [Ping timeout: 245 seconds]
cyraxjoe has joined #nixos
mojjo has quit [Read error: Connection timed out]
<{^_^}> [nixpkgs] @marsam merged pull request #58328 → ffsend: 0.2.39 -> 0.2.42 → https://git.io/fjUGD
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjL3W
<tilpner> Hi! I just reinstalled with zfs, but now my laptop can't perform a clean reboot anymore
<tilpner> During shutdown, /var fails to unmount because it's in use (possibly by journald)
womfoo` has quit [Remote host closed the connection]
<tilpner> And then it just stays stuck (rcu_sched self-detected stall on CPU)
leat1 has joined #nixos
<gchristensen> kernel version?
leat has quit [Ping timeout: 268 seconds]
<tilpner> Whatever's in 19.03
<gchristensen> just, like, default? or did you go to the latest kernel?
<tilpner> No, I didn't change the kernel version yet. I can check, but then I'll lose the errors on the screen
leat1 has quit [Remote host closed the connection]
wolfman154 has joined #nixos
<gchristensen> interesting
<gchristensen> I guess /var is on a different data-set or something?
<tilpner> Yes, I created a var and a var/lib dataset
<tilpner> I made a picture of the errors, now I can reboot
* tilpner adds zfsforce=1
leat1 has joined #nixos
<wolfman154> Can someone help me find what’s wrong, it says there is a syntax error: https://hastebin.com/enatefegom.bash
<gchristensen> where does it say the syntax error is?
<wolfman154> Second to the last brace
<wolfman154> Lin 30:5
<tilpner> Semicolon after config
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner> After the string
<wolfman154> It’s third to last my mistake
<gchristensen> after the ''
<wolfman154> Yes, line 30?
<tilpner> Kernel is 4.19.32, with zfs 0.8.0-rc3
zupo has joined #nixos
<wolfman154> I’m guessing I need a semicolon after config?
<gchristensen> after the '', before the }
<carter> so whats the usual cause of 15:18:30 ~ $ nix-channel --update
<carter> warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': SSL peer certificate or SSH remote key was not OK (60); retrying in 333 ms
<carter> warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': SSL peer certificate or SSH remote key was not OK (60); retrying in 554 ms
<carter> coffee shops?
<carter> or did i forget to set some flag on my mac?
<gchristensen> what happens if you visit that in a browser?
<{^_^}> [nixpkgs] @Infinisil merged pull request #57716 → nixos/icingaweb2: Replace most options with toINI → https://git.io/fjejn
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjL3o
<laalf> can someone tell me if persistent l2arc and trim works on zfs on linux yet?(and on nixos?)
<tilpner> Hmm, blacklisting nouveau and updating microcode eliminated some warnings, but didn't help with the unmounting during shutdown/reboot
<gchristensen> laalf: maybe ask in #zfsonlinux?
<laalf> gchristensen: ill do. thanks
<tilpner> laalf: trim works according to wiki
<laalf> thanks
<laalf> i should open an issue about my lvm caching problems under nixos
<{^_^}> [nixpkgs] @Infinisil pushed commit from @dasJ to release-19.03 « nixos/icingaweb2: Replace most options with toINI »: https://git.io/fjL3y
<wolfman154> I removed gnome3 why am I getting this error
<wolfman154> rycee: 13:22 wolfman154: https://hastebin.com/vujejijojo.rb
<{^_^}> [nixpkgs] @Mic92 merged pull request #57979 → nixos/nginx: use nginxfmt and gixy → https://git.io/fjfgn
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjL3S
rcshm has quit [Remote host closed the connection]
<wolfman154> I removed gdm as well
rcshm has joined #nixos
<drakonis> laalf, you should perhaps not run lvm with zfs
<laalf> Drakonis: thats not my issue. i cant unlock a cached lvm+luks partition at boot
<drakonis> ah okay.
<laalf> if i run nixos-generate-config i am not able to boot my system
<wolfman154> I removed gnome3 and gdm? And put xmonad?13:22 wolfman154: https://hastebin.com/vujejijojo.rb
<rycee> wolfman154: You are using Home Manager from the master or 19.03 branch while you are using Nixpkgs 18.09.
goibhniu2 has quit [Ping timeout: 250 seconds]
<carter> gchristensen: its fine in browser
goibhniu1 has joined #nixos
Tiez has quit [Quit: WeeChat 2.4]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<carter> i'm quite confused
<carter> how do i do a nix pkg update?
<tilpner> gchristensen: I have no idea what I changed (apart from microcode and blacklists), but now it at least finishes the shutdown, even if the unmount still fails. Good enough for now
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
warbo has joined #nixos
<rycee> master.tar.gz ⟶ release-18.09.tar.gz
<neonfuz__> Hey
<neonfuz__> so I'm dual booting nixos and debian, and I'm wondering if it's possible to share the nix store?
<neonfuz__> (I'm gonna install nix / nixpkgs on debian)
<apeyroux> nh2: I think I'm close to it... https://pastebin.com/93Asy9dG
<wolfman154> rycee: is it hard to upgrade to 19.03? I already used master.tar when I first installed home-manager?
stepcut has joined #nixos
<samrose> if I want to create a directory in a package to store data in (like a subdir of /var/db for instance) what is the best way to do that?
<wolfman154> rycee: I have everything copied so I’ll just do a fresh install
<carter> i'm just gonna destroy my install and try again
<rycee> wolfman154: Don't know, I'm still using 18.09.
drakonis_ has joined #nixos
doop has quit [Quit: Page closed]
<warbo> hello, I'm trying to get hibernate (suspend to disk) working on NixOS
<slack1256> To run `make nconfig` on the linux repo, what should I include on the nix-shell?
<slack1256> just nix-shell -p ncurses isn't enough
<warbo> so far I've found that I have a 2GB swap file at /var/swapfile which I think I need to grow (I have 4GB RAM)
<wolfman154> rycee: on the second link do I still need: layout = “us”; under xserver?
<apeyroux> nh2: YES! It works! a big thank you!
<warbo> can I edit the size in `swapDevices` or will I need to add a new entry?
<samrose> warbo: you can edit swapDevices
<rycee> slack1256: `nix-shell '<nixpkgs>' -A linux`?
goibhniu1 has quit [Ping timeout: 250 seconds]
<warbo> samrose: I'll give it a go :)
goibhniu2 has joined #nixos
<nh2> apeyroux: nice!
<clever> warbo: but changing the size of a swap file requires turning it off first, which requires flushing it all back into ram
<slack1256> rycee: currently downloading that derivation, I though I only needed ncurses
<wolfman154> rycee: on keymap.nix, the second link that I sent you
<rycee> slack1256: Yeah, there is probably a ligher way to do it. But I guess this is easier :-)
<warbo> ah, ok
<infinisil> neonfuz__: Yeah that should work without problems
<slack1256> rycee: Just to clarify, if I do `nix-shell -p ncurses`, should any program that depends dynamically on ncurses be able to find it?
<slack1256> Or isn't as simple as that?
<rycee> wolfman154: There are so many links everywhere. I guess it doesn't hurt to have it?
<nh2> apeyroux: I really should get around to upstreaming most of this, but the sponsoring company I did the whole first batch of work for needed it only for a specific use case so they didn't care so much about upstreaming, since then it has been on the backburner a bit
<rycee> slack1256: I would guess not. Perhaps if you add the lib path to LD_PRELOAD_PATH?
<slack1256> I see, the one that sets up the environment variables is mkDerivation and nix-shell just piggy back onto that. A bare nix-shell doesn't set anything, just gives you the binaries
<wolfman154> infinisil: you understand xkb really well, do I need layout = “us” under the xserver on the second link (my keymap.nix file) ?
<samrose> I guess if I want to create a path in a package I need to use `mkOption`
<wolfman154> infinisil: 13:33 wolfman154: rycee: I’m confused so what do I need to change? https://hastebin.com/avorevover.bash https://hastebin.com/omewejoxif.xml https://hastebin.com/bupafuquno.bash
eyJhb has quit [Quit: Bye]
<warbo> slack1256: there is an attribute called 'shellHook' which you can use to set up env vars and things for nix-shell
<wolfman154> infinisil: the second link
eyJhb has joined #nixos
<warbo> slack1256: but that's only useful for derivations that you're writing yourself (I've not been following what your issue is about :P )
work_ has joined #nixos
<infinisil> wolfman154: Nope, when you use xkbcomp to load the layout, the standard loading (via the layout,xkbVariant, etc. options) is completely ignored
Neo-- has joined #nixos
<carter> gchristensen: it was that theres no sane fish shell and that cert file thingy
wfranzini has joined #nixos
<carter> :)
<wolfman154> infinisil: thanks, good to know, can i give you karma?
<infinisil> If you *really* want to :)
<warbo> woo, I now have a 5GB of swapfile :)
erictapen has quit [Ping timeout: 245 seconds]
<wolfman154> infinisil++
<{^_^}> infinisil's karma got increased to 79
<wolfman154> rycee++
<{^_^}> rycee's karma got increased to 10
goibhniu2 has quit [Ping timeout: 246 seconds]
goibhniu1 has joined #nixos
<wolfman154> Just checking is 19.03 still in beta?
<clever> wolfman154: yes
<{^_^}> #56826 (by lheckemann, 4 weeks ago, open): Zero Hydra Failures: 19.03 edition
<warbo> hmm, neither 'sudo pm-hibernate' nor 'sudo systemctl hibernate' are working
<warbo> screen blanks for a moment but that's it
<wolfman154> clever: :(
<wolfman154> clever: :(
<warbo> dmesg talks about suspending, then thawing. says "PM: Cannot find swap device, try swapon -a."
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<warbo> searching for that error gives me some decade old forum threads and launchpad bugs saying that swap files might not work for hibernate
wolfman154 has joined #nixos
genesis has quit [Remote host closed the connection]
<warbo> (I'm not using encrypted disks, swap, or anything like that; just one big ext4 parition)
<wolfman154> rycee: does home-manager have libinput(touchpad) option?
<rycee> wolfman154: No, nothing like that. You can see the available options here: https://rycee.gitlab.io/home-manager/options.html
genesis has joined #nixos
<warbo> I'll ask in linux since this doesn't seem nixos specific anymore :)
<eacameron> Is there a way to get nix-build/nix-env to report progress?
iceypoi has joined #nixos
<wolfman154> rycee: thanks I tried to look through that massive manual to find it, anyways I’m going to try and fix that error, I’ll let you know if xmonad is working in home-manager
drakonis has quit [Read error: Connection reset by peer]
<wolfman154> rycee: I’m sorry to bother you so much this is barely my 3rd week using nixos, very different from ubuntu
<slack1256> On `nix repl` the builtin.typeOf tells me if something is a lambda. Any ways to see how many arguments it takes?
<slack1256> or to see the docs on the repl?
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
<rycee> wolfman154: Yeah, you certainly jumped in the deep end :-) I used Nix on Debian for well over a year before trying NixOS.
<infinisil> eacameron: Use `nix build` instead, there's no nix-env form of this though, yet
<{^_^}> [nixpkgs] @cpages merged pull request #58719 → calligra: mark broken → https://git.io/fjITI
<{^_^}> [nixpkgs] @cpages pushed 3 commits to master: https://git.io/fjLsK
<infinisil> And the syntax of nix build's arguments is a bit different
<rycee> wolfman154: I would recommend reading through the Nix pills and really learning the Nix language.
<iceypoi> exit
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
orbekk has quit [Quit: WeeChat 2.0]
<eacameron> infinisil: nix build has no -A option?
<infinisil> eacameron: No, but equivalent syntax, see `nix build --help`
<{^_^}> [nixpkgs] @cpages pushed 2 commits to release-19.03: https://git.io/fjLsM
<wolfman154> rycee: yeah, one I finish installing and setting, everything up then I’ll finally be able to get back to coding, it’s nice that I can just save a copy of my configuration and paste it later if I have to, do it seems like setting everything up for the first time time is hard , but after that you can just copy and paste.
goibhniu2 has joined #nixos
goibhniu1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python3.pkgs.asynctest: 0.12.2 -> 0.12.3 »: https://git.io/fjLs7
<wolfman154> I am going to be doing free code camp in a couple of days, is it hard to install the software I that I am going to need for it? https://www.freecodecamp.org/
<wolfman154> I’m going to need to install html5 css3 JavaScript databases node.js react.js and d3.js on nixos?
<warbo> slack1256: not that I know of
<wolfman154> Does nixos have nix packages for all of these?
<warbo> slack1256: I tend to give it one argument at a time until something happens
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<slack1256> warbo: yeah, really hacky :-P
<warbo> slack1256: e.g. 'f 1', 'f 1 null', 'f 1 null true', etc. until it complains about something being the wrong type (then I know which one to change)
<warbo> absolutely
<warbo> same with 'primop', 'primop-app', etc. for builtins
<wolfman154> 14:19 wolfman154: I am going to be doing free code camp in a couple of days, is it hard to install the software I that I am going to need for it? https://www.freecodecamp.org/ 14:21 wolfman154: I’m going to need to install html5 css3 JavaScript databases node.js react.js and d3.js on nixos? 14:22 wolfman154: Does nixos have nix packages for all of these?
<infinisil> wolfman154: You don't need to always repeat yourself, be patient
<warbo> it looks like I *might* be able to use 'uswsusp' to hibernate (s2disk), but it doesn't appear to be in nixpkgs/nixos
<slack1256> What is the environmental variable I need to set so ld.so find the header files (.h) ?
<warbo> does it seem worth my while packaging it? last update was 2011
<slack1256> LD_LIBRARY_PATH is for .so file (ie /usr/lib)
orivej has quit [Ping timeout: 246 seconds]
<infinisil> slack1256: What does the error look like?
<slack1256> "* Install ncurses (ncurses-devel or libncurses-dev" this is trying to run `make nconfig` on a kernel repo
<wolfman154> infinisil: Sorry I’ve been trying to set everything up for three weeks, I finish my custom keyboard layout, almost got xmonad setup, then I need to setup xmonad, then finally install the programming languages that I need, at least once I finish all this i I can just copy and paste the config file so I don’t need to do it manually over and over again
<infinisil> slack1256: Just adding ncurses to buildInputs should do it
<slack1256> infinisil: I hacked this default.nix https://pastebin.com/0Z0cKevP
<slack1256> I did that
<wolfman154> infinisil: and I forgot I need to setup emacs
<infinisil> slack1256: Try adding pkgconfig to nativeBuildInputs
<warbo> slack1256: use 'buildInputs' with an s
<infinisil> Oh yeah ^^
<warbo> :P
<infinisil> (I wish mkDerivation would complain for stuff like this)
<slack1256> Oh, let me try that
<infinisil> wolfman154: So yeah, using those technologies shouldn't be a problem on NixOS, but you may not be able to use the commands they give you. E.g. npm (node package manager) might not work
<wolfman154> infinisil: so I’ll have to use nix instead?
<slack1256> infinisil, warbo: it was what you said, writing `buildInputs and adding the nativeBuildInputs = [pkgconfig]; line.
<slack1256> Thanks
<warbo> :)
<slack1256> warbo++
<infinisil> wolfman154: Yeah, for node packages specifically
<{^_^}> warbo's karma got increased to 1
<slack1256> infinisil++
<{^_^}> infinisil's karma got increased to 80
d10n-work has joined #nixos
<infinisil> slack1256: Did it work with buildInput -> buildInputs only or was pkgconfig needed too?
<slack1256> What I never understood is what does pkgconfig does? Is it like a database with the recommended flags for the compiler to use a library?
<wolfman154> infinisil: that actually sounds good, I would like to just use one package manager for everything.
<d10n-work> (on CentOS6) I run `nix-env -e git` but `which -a git` still shows ~/.nix-profile/bin/git - what is the right way to uninstall git?
<warbo> wolfman154: Nix/NixOS is a bit of a spectrum
<slack1256> infinisil: It needed both, writing buildInputs without the pkgconfig line didn't work.
<warbo> you can just 'nix-env -i' all of the tools you'd use on any other distro and carry on as before, but not get any Nix benefits
<infinisil> slack1256: I think it does stuff like output the right compiler flags so libraries get correctly passed
domogled has joined #nixos
<wolfman154> infinisil: so far I like the nix package manager, but it’s only been three weeks
<warbo> or use 'nix-shell' to install tools per-language or per-project, and carry on as before
Mithror has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<warbo> or go the whole hog and use Nix for everything
<clever> d10n-work: what does `nix-env -q | grep git` return?
<infinisil> ,fancyUninstall d10n-work
<{^_^}> infinisil: Did you mean fancy-uninstall?
<{^_^}> d10n-work: Fancy way to uninstall packages, needs fzf installed: nix-env -q | fzf | xargs -I{} nix-env -e {}
rcshm_ has quit [Read error: Connection reset by peer]
<d10n-work> clever: ah, git-minimal-2.19.2 - doing `nix-env -e git-minimal` worked, thanks
<slack1256> Thanks you guys, I am running make nconfig now :-)
rcshm has joined #nixos
<slack1256> I will do a blog post on this some day, as nix-shell -A linux '<nixpkgs>' doesn't seem to set up ncurses
<slack1256> Which is reasonable, it already ships with the config
<warbo> hmm, looks like uswsusp requires fiddling with the initramfs, which is a rabbit hole I don't feel like going down right now!
<warbo> thanks anyway everyone
<clever> warbo: ah yeah, there are 2 ways to resume from hibernation
<d10n-work> my next question - how do I install git with git-gui? I see a guiSupport option but I'm having trouble figuring out the right way to use it
<clever> warbo: the 1st only works with swap parititions, and you specifiy the blockdev on the kernel cmdline
<clever> warbo: the 2nd requires mounting the fs (probably read-only), and running a special util against the swap file
<warbo> uswsusp needs to know the 'offset' of my swapfile on my partition
<clever> warbo: offset alone wont work for ext4, it would be a list of offset+size pairs
<infinisil> > pkgs.gitFull
<{^_^}> "<derivation /nix/store/l0rgw9bqg19i0x2ip2wdzi8a32ry53lg-git-2.19.2.drv>"
<infinisil> d10n-work: gitFull should have gui support
<warbo> clever: urgh
<clever> warbo: https://nixos.org/nixos/options.html#boot.resume is the option for non-file swap
<clever> warbo: wait, the description mentions file...
goibhniu2 has quit [Ping timeout: 255 seconds]
goibhniu1 has joined #nixos
<warbo> oh
<warbo> hmm
<warbo> that makes sense
orbekk has joined #nixos
<eacameron> infinisil: so it looks like to get -A out of nix build I need to `nix build -f default.nix <thing>`
<warbo> I was assuming that uswsusp has been abandoned for years, and isn't packaged in NixOS, etc. because the functionality's been subsumed elsewhere
<eacameron> i.e. `nix build <thing>` doesn't work.
<warbo> which would make sense if we just need to specify some kernel command lines
drakonis has joined #nixos
logzet has joined #nixos
<clever> warbo: i think the kernel cmdline part only works for proper block devices, this option adds stuff to the initrd for you
<{^_^}> [nixpkgs] @xeji merged pull request #58948 → coyim: 0.3.7_1 -> 0.3.11 → https://git.io/fjIFc
<{^_^}> [nixpkgs] @xeji pushed commit from @ajs124 to master « coyim: 0.3.7_1 -> 0.3.11 (#58948) »: https://git.io/fjLGc
<d10n-work> thanks infinisil
<clever> warbo: but line 440 looks like its only for block devs, it will write the major/minor# to a magic /sys entry, then the kernel takes over resuming
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<warbo> clever: it mentions pm-utils, which is what doesn't work for me
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<warbo> I think it might be easier to shrink my partition from a live USB stick and add a real swap partition
<clever> warbo: one min
<clever> warbo: this is an alternative option to using a live usb
<{^_^}> [nixpkgs] @xeji merged pull request #58946 → grisbi: 1.0.4 -> 1.2.1 → https://git.io/fjIdQ
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fjLGC
<clever> warbo: that will basically shove the entire liveusb (~400mb in size) into /boot, and give it a grub option
<warbo> would that be advisable if I want to fiddle with the disk?
Ariakenom has quit [Read error: Connection reset by peer]
<clever> warbo: its mainly just a second option, to save you from having to find an unused usb stick
<clever> or if you want to keep it around later, for rescue purposes
<infinisil> eacameron: probably `nix -f. <thing>` works too
<warbo> (although, admittedly, I actually installed this system years ago by running the NixOS ISO inside Qemu pointing at the same drive as the host system! I just made sure the host/guest didn't touch each others partitions)
<warbo> clever: nice to know :)
<infinisil> eacameron: Um, `nix build -f. <thing>`
<clever> warbo: for that kind of crazy idea, kexec also works
<warbo> heh. In fact, my configuration.nix still has a 'TODO' about the hardware auto-detection
<eacameron> infinisil: ok cool
domogled has quit [Ping timeout: 245 seconds]
<clever> warbo: basically, this will create the same kernel+initrd as the rescue setup, but instead of loading it with grub, it loads it with kexec
<clever> warbo: so nixos will just forcibly hijack the cpu, and assume full control of the box, then run entirely from ram
<warbo> wow; I'd only attempt that over SSH if the power button was within arm's reach :P
domogled has joined #nixos
vmandela has left #nixos ["Leaving"]
<gchristensen> hehe
<d10n-work> When I run `git gui`, I get <Fontconfig warning: "/etc/fonts/fonts.conf", line 142: blank doesn't take any effect anymore. please remove it from your fonts.conf> - is there a good way to make nix-installed programs point to the fonts.conf in the nix fontconfig package instead of my OS's fonts.conf?
<gchristensen> I've done it from far away, but not on anything I needed
fendor has joined #nixos
<clever> warbo: of note, my kexec image is configured to reboot itself 5 minutes before the end of the hour
<clever> warbo: so even if you cant reach the power button, the old os will resume shortly
<clever> as long as you havent destroyed the boot chain
<warbo> that's a whole other kettle of fish on this machine
<warbo> it's got libreboot installed, but I can't update the config it came with
<warbo> so I have to manually select the 'scan for grub on (msdos1)' option every time :P
<gchristensen> jikes
<warbo> it supposedly checks each partition for a config file and uses it if found, but it doesn't seem to work (maybe my libreboot version's too old)
<warbo> I don't want to reflash it myself, in case I brick it :P
<warbo> I've learned a lot, but think I'll stick to what I know for now (GParted on a live USB; I'm sure I've got a few knocking around somewhere)
<warbo> thanks all
<warbo> clever++
<{^_^}> clever's karma got increased to 121
warbo has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
drakonis1 has joined #nixos
npmccallum has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bbigras opened pull request #58985 → dnscrypt-proxy2: 2.0.21 -> 2.0.22 → https://git.io/fjLG6
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #58929 → znc: 1.7.2 -> 1.7.3 → https://git.io/fjI1e
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjLGP
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @Infinisil merged pull request #58930 → zynaddsubfx: 3.0.3 -> 3.0.4 → https://git.io/fjI1J
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjLG9
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjLGH
<{^_^}> [nixpkgs] @Infinisil merged pull request #58885 → sonarr: 2.0.0.5301 -> 2.0.0.5322 → https://git.io/fjIVq
domogled has quit [Ping timeout: 246 seconds]
logzet has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58098 → PULL_REQUEST_TEMPLATE: Add encouragement to review PRs → https://git.io/fjfp1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjLGF
sierraDelta has joined #nixos
<sierraDelta> Is there a separate channel for nix stuff that is not NixOS? like, installing nix on mac?
<gchristensen> this and #nix-darwin are The Place :)
<{^_^}> [nixpkgs] @cpages pushed to master « pcl: 1.8.1 -> 1.9.1 »: https://git.io/fjLGb
<sierraDelta> Any ideas why, after running the single-user install, I'm getting complains of root's channels not being there? For some reason $NIX_PATH has `/nix/var/nix/profiles/per-user/root/channels` even though I'm not running as root?
<{^_^}> [nixpkgs] @cpages closed pull request #58825 → pcl: 1.8.1 -> 1.9.1 → https://git.io/fjI4S
<gchristensen> hrm :?
<{^_^}> [nixpkgs] @dywedir merged pull request #58490 → scrcpy: 1.5 -> 1.8 → https://git.io/fjTEk
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjLGx
<gchristensen> it is beyond time for me to go spelunking in to macos install bugs
philippD has quit [Ping timeout: 245 seconds]
cyraxjoe has quit [Ping timeout: 246 seconds]
cyraxjoe has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/58efb6980fb (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
fusion809 has quit [Remote host closed the connection]
fendor has quit [Quit: Leaving]
orivej has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
knupfer has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3d81cc7a2ea (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
sigmundv has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
stepcut has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 268 seconds]
stepcut has joined #nixos
cyphase has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
<kalbasit> is this the only way to access a derivation's meta? `nix-instantiate --eval --json --strict '<nixpkgs>' -A pet.meta`
<kalbasit> this also works: `nix eval -f '<nixpkgs>' --json pet.meta`
<infinisil> > pet.meta # also works :P
<{^_^}> { available = <CODE>; description = "Simple command-line snippet manager, written in Go"; homepage = "https://github.com/knqyf263/pet"; license = <CODE>; maintainers = <CODE>; name = <CODE>; outputsTo...
arjen-jonathan has quit [Ping timeout: 244 seconds]
<infinisil> kalbasit: I made myself a meta binary for that: https://paste.infinisil.com/9PWin2eXK8.sh
<clever> kalbasit: nix edit nixpkgs.pet
<clever> that command will open its nix file in an editor
rprije has joined #nixos
cyphase has joined #nixos
mekeor has joined #nixos
kvda has joined #nixos
Neo-- has quit [Ping timeout: 255 seconds]
<mekeor> hello. i would like to debug a nix-package-definition. how can i view the source after config-phase and before compilation?
<clever> mekeor: run `configurePhase` under nix-shell
<mekeor> clever: the package is inside nixpkgs. i tried to invoke nix-shell with `nix-shell ./default.nix` but got an error... how do i invoke the nix-shell appropriately?
<clever> mekeor: nix-shell -A foo, when in the root of nixpkgs
<mekeor> clever: wow, thank you!
<slack1256> Does anyone emacs nix-mode mess up the indentation?
<mekeor> slack1256: i like it its indentation :)
<slack1256> To me when opening a new-line it shifts the surrounding scope to the left size
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xal has quit [Ping timeout: 245 seconds]
<slack1256> I am declaring a custom kernelPackages on configuration.nix as https://pastebin.com/PZpDdc2R
<slack1256> There is a error of a misssing `extend` binding missing. I included the output of the pastebin. Anyone care to look at it? I am following the example done on the nixos manual.
wfranzini has quit [Remote host closed the connection]
alex`` has quit [Quit: WeeChat 2.4]
wfranzini has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xal has joined #nixos
<iceypoi> just a very general question. How long does it usually take for PRs got get accepted to nixpkgs (no controversy involved)
m0rphism has quit [Ping timeout: 250 seconds]
kvda has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
erasmas has quit [Quit: leaving]
<kalbasit> infinisil: thank you, that helps!
<kalbasit> clever: oh interesting, I did not know about edit. Thanks!
matix has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> iceypoi: If you ping people, mention it in chats and such it can be pretty fast, a couple of days. But if not then it can take forever
domogled has quit [Ping timeout: 255 seconds]
<iceypoi> I see, coz' I made a tiny 10-line fix to grub (https://github.com/NixOS/nixpkgs/pull/58027) and it's been open for over two weeks, even though the code review was accepted
<{^_^}> #58027 (by DanielFabian, 2 weeks ago, open): grub: Add gfxpayload
<kalbasit> iceypoi: grub is a sensitive change that requires lots of testing (saying it without having seen your PR)
<kalbasit> so it does require more time from members to review
domogled has joined #nixos
<iceypoi> fair enough. I'm happy to answer any questions. For now, I'm keeping a local fork of nixpkgs, because I couldn't easily replace the module.
o1lo01ol1o has quit [Ping timeout: 268 seconds]
erasmus has quit [Quit: reboot]
linarcx has quit [Quit: WeeChat 2.4]
<kalbasit> infinisil: FYI you're code-owner of #58027
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58027 (by DanielFabian, 2 weeks ago, open): grub: Add gfxpayload
<samueldr> kalbasit: looking at it, been pretty involved in bootload-y stuff especially grub
<kalbasit> samueldr: awesome, thank you!
<kalbasit> iceypoi: your PR is in good hands now :)
<iceypoi> great! thanks guys
<samueldr> (infinisil is codeowner of all nixos modules; not sure how useful in the end it is for infinisil considering how submerged in PR he must be)
<kalbasit> samueldr++
<{^_^}> samueldr's karma got increased to 67
<kalbasit> samueldr: true
<samueldr> (and of note, here in nixpkgs codeowner isn't really meant as "I'm the law" but more "notify me", at least partially)
<samueldr> and yeah, it looks innocuous, though I have questions/nits, sorry not sorry :)
<samueldr> (commenting on the PR)
<infinisil> samueldr: Yeah it gets a bit overwhelming sometimes, I can't review all of them, so I have to just ignore some notifications
<kalbasit> I wish I have more time to help you guys, trying my best :|
<iceypoi> sure, I'll do my best to answer ;-)
jackdk has joined #nixos
<{^_^}> [nixpkgs] @nicknovitski opened pull request #58986 → govc: 0.16.0 -> 0.20.0 → https://git.io/fjLnk
hlolli has quit [Ping timeout: 268 seconds]
sam has joined #nixos
<infinisil> ,helpout
<{^_^}> Nixpkgs doesn't have enough people for all incoming PRs, so we'd appreciate anybody's help with reviewing them, especially package updates. Just testing the relevant package/service and leaving a comment saying what you tested, how you tested it and whether it worked would be great. This would reduce the average time-to-merge for all of us. Thanks if you do :)
sam is now known as Guest49268
siel has quit [Ping timeout: 250 seconds]
freeman42x has quit [Ping timeout: 257 seconds]
<samueldr> iceypoi: commented, took some time because I first looked at how technically sound the request was :)
<samueldr> oh, and good first contribution :)
<iceypoi> samueldr: I'll think it through again if that works, because I seem to remember that your suggestion doesn't work (was my first instinct, too)
<iceypoi> I'll get back to you
<samueldr> yeah, the `grub_platform` check can't happen within the nixos module; it'd have to be a pair of options (even though it's a bit inelegant)
<samueldr> (my first instinct too was to recommend a single option and the platform check within the nixos module)
<iceypoi> added a comment, if you're happy with it, I can make the changes roughly tomorrow and have it tested for both efi and bios.
<iceypoi> it just so happens that my laptop needs the bios version and desktop needs efi
<samueldr> hmm, no comment is showing up here
<iceypoi> it's a *review*... doesn't it show up there?
<samueldr> ah, "Start a review" needs to be "committed" to github
<iceypoi> oh, didn't know, I just added a comment, then :P
<samueldr> to the top right there would be a "Review changes" button I think
<samueldr> I used the word committed, but that's overloaded; when "starting a review" you're basically batching a bunch of comments
<samueldr> and it is finalized with the top right green "Revoew changes" button
<samueldr> Review*
<iceypoi> i see, didn't know. You learn something new every day xD
<worldofpeace> Anyone know the value `python -c "from distutils.util import get_platform; print(get_platform())"` would return on a darwin builder?
<samueldr> worldofpeace: not sure if useful (I was curious) https://docs.python.org/2/distutils/apiref.html#distutils.util.get_platform
<samueldr> there are example values for Mac OS X (whatever that is) by the end of the thing
<samueldr> hmm, might not be "right", looking at another page; looks like depending on the package manager sometimes it ends in -intel sometimes in -x86_64 according to https://github.com/MacPython/wiki/wiki/Spinning-wheels
msko has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
over7head has joined #nixos
<over7head> what premissions nix use for system files if they are read-only for root (/nix/store) ?
<samueldr> the daemon handles allowing write access on a as-needed basis
<mekeor> i'm trying to fix a bug within a nix-package-definition, namely R. during the configurePhase, the path to the `which` binary is determined and the string `@WHICH@` within some source code is replaced with this path which i think this happens in the buildPhase. currently `which` is declared as a buildInput to the package. i think the cause of the bug, which i'm to fix, is that the path is wrong during run-time of R. could it be that th
<mekeor> path to the `which` binary which is used to replace the `@WHICH@` string refers to the path on the building machine? so that it's wrong on the target machine? how would i fix that?
<clever> mekeor: can you pastebin the nix expression?
<samueldr> from the manual, over7head, >> Nix will automatically make /nix/store writable as needed (using a private mount namespace) to allow modifications.
aanderse has quit []
<samueldr> (only in older release notes though) https://nixos.org/nix/manual/#ssec-relnotes-1.2
domogled has quit [Quit: domogled]
eyJhb has quit [Quit: Bye]
<ar1a> so i want to roll back my nixpkgs channel to before ghc was upgraded to 8.6.4. How would I do this? keep in mind it would be downgrading packages
<mekeor> clever: btw, this is my bug report: https://github.com/NixOS/nixpkgs/issues/58963
<{^_^}> #58963 (by rhokue, 9 hours ago, open): R: Sys.which function fails
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e18a58228bc (from 33 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
Guest49268 has quit [Remote host closed the connection]
<clever> mekeor: where in that file is it going to replace @WHICH@ ?
silver_ has joined #nixos
silver has quit [Read error: Connection reset by peer]
<clever> mekeor: the buildInputs are only available at build-time, and something during the build has to put their paths into the build product
<mekeor> clever: @WHICH@ is replaced within the source code of R. https://github.com/wch/r-source/blob/tags/R-3-5-1/src/library/base/R/unix/system.unix.R#L115
<clever> ## hopefully configure found [/usr]/bin/which
wfranzini has quit [Remote host closed the connection]
<clever> mekeor: that will replace it with the env var WHICH, but it doesnt set that env var
over7head has quit [Quit: Page closed]
wfranzini has joined #nixos
<mekeor> clever: config.status contains this: S["WHICH"]="/nix/store/ckd1dy6llxr1s17f9x27p9jwzdanl5yx-which-2.21/bin/which"
orivej has quit [Ping timeout: 250 seconds]
<mekeor> (after configPhase i think)
eyJhb has joined #nixos
<clever> mekeor: and if you read the configure script, what does it do?
<slack1256> To change documentation on nixpkgs, is it better to talk to the maintainer of the file privately first right?
<clever> mekeor: i think configure needs a --flag to set the which path, but it may also use the WHICH env var at build time
<mekeor> clever: there is this line: `WHICH=$ac_cv_path_WHICH` in the configure script. and there is this line in config.log: `ac_cv_path_WHICH=/nix/store/ckd1dy6llxr1s17f9x27p9jwzdanl5yx-which-2.21/bin/which`
npmccallum has joined #nixos
<clever> mekeor: sounds like it got things right on its own
<clever> mekeor: if you repeat the test from the issue, under `strace -e execve -f`, what does it show being ran?
<mekeor> clever: also there is a R-3.5.1/src/library/base/all.R generated which contains this snippet http://sprunge.us/ZXpu9n
<clever> mekeor: yeah, looks like the generation worked perfectly
<mekeor> clever: http://sprunge.us/21Zs78
<mekeor> yup, it's a non-existent path to `which` binary
<mekeor> i think this confirms my initial suspicion
<clever> mekeor: what about the output of `nix-store --verify --check-contents` ?
jasongrossman has quit [Read error: Connection reset by peer]
<mekeor> clever: btw, i'm getting this error on NixOS/Linux and Nix/MacOS
wolfman154 has joined #nixos
erasmus has joined #nixos
wolfman154 has quit [Client Quit]
<ar1a> so i want to roll back my nixpkgs channel to before ghc was upgraded to 8.6.4. How would I do this? keep in mind it would be downgrading packages
<clever> ar1a: would be simpler to just point nix-build to the right rev, then to try and do a rollback
jasongrossman has joined #nixos
jluttine has quit [Ping timeout: 255 seconds]
<ar1a> clever: can't do in this situation, i need to use haskell-ide-engine, but hie-nix (https://github.com/domenkozar/hie-nix) hasn't been updated to 8.6.4 yet and it takes hours to compile
<ar1a> rolling back my channel to 8.6.3 is much less hassle
<mekeor> clever: that takes forever... :/
<clever> mekeor: yeah, it will hash everything in /nix/store/
<clever> ar1a: hie pins the version of nixpkgs, so nothing you do to your channels will have any impact on it
<ar1a> when i try and use it it errors out
<ar1a> LSP :: Mismatching GHC versions: Project is 8.6.4, HIE is 8.6.3
<clever> ar1a: you would need to change the rev in nixpkgs-src.json to match one from a URL like https://channels.nix.gsc.io/nixos-unstable/history
<clever> ar1a: and select a rev that has the ghc you want
<clever> all revs in that list will have coverage on the binary cache, so you wont need to spend an hour building ghc
<ar1a> oof
Rusty1 has quit [Quit: Konversation terminated!]
<clever> ar1a: you could also try asking domenkozar next time he is on, but i think he's sleeping right now
<mekeor> clever: you said "buildInputs are only available at build-time" but the nixpkgs-manual states buildInputs "often are programs/libraries used by the new derivation at run-time"
<clever> mekeor: the runtime closure is a subset of the buildinputs, based on the paths that persist within $out
<clever> mekeor: oh, if you run `strings` on the compiled binary, does the path to which appear?
goibhniu1 has quit [Ping timeout: 245 seconds]
jluttine has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58634 → deepin updates → https://git.io/fjkXY
<{^_^}> [nixpkgs] @worldofpeace pushed 35 commits to master: https://git.io/fjLnH
jasongro` has joined #nixos
<mekeor> clever: `strings exec/R | grep which` shows 0 matches
<mekeor> (R-3.5.1/bin/R is a bash-script while R-3.5.1/bin/exec/R is the binary which i ran `strings` on)
<ar1a> error: Package ‘discord-haskell-0.8.1’ in /nix/store/zz0wcm1lsjv5k7zzh3pffhadqvjb8kdk-nixos-19.09pre173349.07b42ccf2de/nixos/pkgs/development/haskell-modules/hackage-packages.nix:67464 is marked as broken, refusing to evaluate.
<mekeor> clever: what does that mean?
<ar1a> i had a look on nixpkgs issues and discord-haskell is never mentioned
<ar1a> why is it marked as broken?
jasongrossman has quit [Ping timeout: 250 seconds]
<clever> mekeor: i suspect R is encoding the paths strangely, so nix cant properly detect the runtime deps
<clever> mekeor: what about `strings -e l exec/R | grep which` ?
<clever> mekeor: or `-e b`
jasongro` has quit [Client Quit]
everybodyHertz has joined #nixos
slack1256 has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 244 seconds]
wolfman154 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mekeor> clever: both result in 0 matches
<wolfman154> Could someone please post the link to today’s logs I’m on my phone so I can’t
<clever> mekeor: then either its encoding things very weirdly, or its not using the generated file
<mekeor> :D
<clever> mekeor: wait, it is using the generated file, strace confirmed that
<wolfman154> Thanks
<wolfman154> ar1a++
<{^_^}> ar1a's karma got increased to 1
<wolfman154> mekeor++
<{^_^}> mekeor's karma got increased to 1
<mekeor> clever++
<{^_^}> clever's karma got increased to 122
<mekeor> hmmmmmm
mbrgm has quit [Ping timeout: 258 seconds]
<clever> mekeor: what if you just run `hexdump -C` on the binary, and then manually search thru it for a path, it may be one character on every 2nd or 4th byte