sjlnk has quit [Remote host closed the connection]
sjlnk has joined #nixos
m0rphism has quit [Ping timeout: 240 seconds]
<aanderse>
infinisil: ok, that answers my question
<aanderse>
thanks!
<aanderse>
infinisil++
<{^_^}>
infinisil's karma got increased to 403
<{^_^}>
[nixpkgs] @LeSuisse opened pull request #109588 → fluidsynth: update homepage permanent redirect to HTTPS → https://git.io/JtkqV
<inquisitiv3>
cole-h: Ah, now I get it!
<inquisitiv3>
When I read your message more carefully. I still had the "256-" part
stuebinm has quit [Quit: stuebinm]
<cole-h>
the sha256- is part of the hash
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<cole-h>
However, you can remove it if the hash attribute matches the beginning of the hash (e.g. if you had `sha512-.......`, you can remove the `sha512-` part if the attribute is `sha512 = "..."`)
<cole-h>
* Note: pretty sure this is a Nixpgks implementation detail, don't expect it to hold true for everything
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jtkqp
rb2k has quit [Ping timeout: 264 seconds]
tff^ has joined #nixos
o1lo01ol1o has joined #nixos
<DigitalKiwi>
00:03 cole-h: Bugs? I hate bugs.
<DigitalKiwi>
have you been hanging out with phrik
<cole-h>
I was more channeling my Indiana Jones
<DigitalKiwi>
oh
<{^_^}>
[nixpkgs] @baloo opened pull request #109591 → cargo-readme: init at 3.2.0 → https://git.io/Jtkmw
o1lo01ol1o has quit [Ping timeout: 256 seconds]
Jd007 has joined #nixos
EmoSpice has joined #nixos
<bbigras>
Anything changed with Steam on nixos-unstable? I got `a 'i686-linux' with features {} is required to build '/nix/store/1qn89bbzb84dks24qa8qlnxbm7s5mdlr-steam-runtime-0.20201203.1.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}`
mbrgm_ has joined #nixos
EmoSpice has quit [Ping timeout: 256 seconds]
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<KarlJoad>
How can I use cmake, without it using all of the Cmake phases in a build?
<KarlJoad>
Namely, there is a project I am packaging that needs cmake, but doesn't have a CMakeLists.txt file.
<KarlJoad>
Nevermind, I figured out that the build was exiting because specifying cmake as a buildInput means a default configurePhase is provided, which I couldn't use.
<inquisitiv3>
<{^_^} "[nixpkgs] @a12l opened pull requ"> MY FIRST NIX PULL REQUEST! :D
<avn>
colemickens: If I remember right, nix-direnv have use_flake rule for direnv
<cole-h>
inquisitiv3: Congrats! Welcome to the club!
simba1 has quit [Ping timeout: 272 seconds]
xcmw has joined #nixos
simba1 has joined #nixos
superherointj_ has joined #nixos
superherointj_ has quit [Read error: Connection reset by peer]
<inquisitiv3>
cole-h: Thanks! And thank you cole-h and all you others for the help!
superherointj_ has joined #nixos
superherointj_ has quit [Read error: Connection reset by peer]
<{^_^}>
[nixos-search] @garbas pushed to faceted-search « only open when clicked on the title of the result item »: https://git.io/Jtk3p
<zopieux>
node2nix works great for packaging stuff already available on npm; but in my case I'd like to package the output of "npm run build" (within a node env with the right dependencies installed of course)
gustavderdrache has quit [Quit: Leaving.]
<energizer>
how long does it take to build and activate nixos after tweaking some random value on a flakes system? in my current channels setup it usually takes >30 seconds which is pretty annoying
<zopieux>
I've seen a bunch of random helper projects to that end but nothing actually used in nixpkgs/; any tips how how to properly package "source" node packages?
stigo has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
stigo has joined #nixos
<bqv>
energizer: faster than whatever you currently see
<bqv>
The eval cache is your best friend
<energizer>
bqv: is it like 10s or 1s or .1s
<bqv>
My system's a bad metric, I do insane stuff. If your current builds take 30s, id wager theyd be sub 10 with flakes
o1lo01ol1o has quit [Ping timeout: 256 seconds]
rb2k has joined #nixos
<{^_^}>
[nixos-search] @garbas pushed to faceted-search « only show subset of platforms as before »: https://git.io/JtksM
gustavderdrache has joined #nixos
<bqv>
energizer: you can test it harmlessly. Add a flake.nix and build the system without activating it
<{^_^}>
[nixpkgs] @austinbutler opened pull request #109597 → beats: fix missing lib in extrafiles plugin → https://git.io/JtknW
<cole-h>
infinisil: I imagine the answer is no, but is there a way to get the attribute's attr name from inside of it? e.g. `attr = { someval = "${self.attrName} is the attr name"; };`
<bqv>
You could make every value in the set be of form 'self: value' and then map fix over them
<bqv>
cole-h: though, sounds like an easy way to infrec :D
<cole-h>
Yeah, that's what I was thinking too :P
<cole-h>
(The infrec part, not the `map fix` part)
<bqv>
Yeah
<bqv>
On that topic, I'm finding several new forms of infrec as I fiddle with my overlays refactor branch
Heirlung- has joined #nixos
<cole-h>
hehe
Heirlung has quit [Ping timeout: 256 seconds]
aforemny has quit [Ping timeout: 256 seconds]
davidv7 has quit [Remote host closed the connection]
cybrian has quit [Ping timeout: 256 seconds]
davidv7 has joined #nixos
aforemny has joined #nixos
tomaw has quit [Quit: Quitting]
cybrian has joined #nixos
kwork has quit [Remote host closed the connection]
laerling has quit [Ping timeout: 256 seconds]
tnias has quit [Ping timeout: 256 seconds]
jkarni has quit [Ping timeout: 256 seconds]
SOO7 has quit [Ping timeout: 256 seconds]
Heirlung- is now known as Heirlung
laerling has joined #nixos
laerling has joined #nixos
laerling has quit [Changing host]
tnias has joined #nixos
tomaw has joined #nixos
jkarni has joined #nixos
CMCDragonkai1 has quit [Ping timeout: 256 seconds]
SOO7 has joined #nixos
<{^_^}>
[nixos-search] @garbas pushed to faceted-search « use a (on hover) wedge to show/hide details »: https://git.io/Jtkn7
kwork has joined #nixos
EmoSpice has joined #nixos
<{^_^}>
[nixpkgs] @S-NA opened pull request #109598 → firefox: limit disable-elf-hack to arm, x86{,_64} → https://git.io/Jtknx
<{^_^}>
[nixos-search] @garbas pushed to faceted-search « show buckets even when there is no packages to list »: https://git.io/Jtknp
genevino has quit [Remote host closed the connection]
EmoSpice has quit [Ping timeout: 246 seconds]
genevino has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
EmoSpice has joined #nixos
testafwafaw has joined #nixos
testafwafaw has quit [Client Quit]
stephank has quit [Quit: stephank]
stephank has joined #nixos
mla has joined #nixos
EmoSpice has quit [Ping timeout: 256 seconds]
rb2k has joined #nixos
o1lo01ol1o has joined #nixos
jonringer has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
kini has quit [Remote host closed the connection]
kini has joined #nixos
<bqv>
> builtins.attrNames pkgs.emacsPackagesFor
<{^_^}>
value is a function while a set was expected, at (string):466:1
<{^_^}>
[nixpkgs] @holymonson opened pull request #109599 → setup-hooks/multiple-outputs.sh: fallback to REMOVE if out isn't in outputs → https://git.io/JtkWR
waleee-cl has quit [Quit: Connection closed for inactivity]
kini has quit [Remote host closed the connection]
kini has joined #nixos
<{^_^}>
[nixpkgs] @holymonson opened pull request #109600 → unixtools: use real provider name instead of inaccurate version → https://git.io/JtkW5
<kolaente_>
Hey there, since I did the 20.09 upgrade my i3 always starts with the 10th workspace instead of the first. Has anyone seen similar or has an idea how to fix that?
<eyJhb>
I am trying to do this - https://termbin.com/vzzs but I keep getting error: cannot coerce the built-in function 'fetchTarball' to a string, at /state/home/projects/github/eyjhb.github.io/build.nix:1:7. What am I doing wrong?
<jolicoeur>
I believe my drive blew up after 2 years using nix because trim wasn't enabled by default
<jolicoeur>
so first : why is config.services.fstrim false by default ? Would it hurt any setup if it was true instead ? Or can't we have it commented in the generated config ?
<jolicoeur>
I believe yes for my second question since : /var/lib/systemd/timers/stamp-fstrim.timer was created but it empty now, I'll see in 2 days if that changes
<supersandro2000>
eyJhb: you can't do import there
<supersandro2000>
you are maybe missing () or {}
orivej has joined #nixos
<supersandro2000>
jolicoeur: no clue. zfsTrim is enabled by default.
<supersandro2000>
that should change if it does not interfere with zfs
<{^_^}>
[nixos-search] @turboMaCk opened pull request #264 → Apply "more link" on options and fix CSS issues → https://git.io/Jtk2r
__monty__ has joined #nixos
<jolicoeur>
isn't this kind of urgent? Anyone running with an ssd or an nvme might see their hard drive lifetime dramatically reduced with current defaults and available options.
<{^_^}>
[nixpkgs] @Ma27 pushed commit from @WilliButz to release-20.09 « hedgedoc: 1.7.1 -> 1.7.2, fixes CVE-2021-21259 »: https://git.io/Jtk2d
<{^_^}>
[nixpkgs] @fabaff opened pull request #109620 → python3Packages.swisshydrodata: init at 0.0.3 → https://git.io/Jtk2F
<eyJhb>
supersandro2000: well, import can be used there, as you can do import <nixpkgs> {}, but I cannot get it to work with the tarball :/ Doing more () {} does not aid me so far
<{^_^}>
[nixpkgs] @sternenseemann opened pull request #109621 → ocamlPackages: init xenstore, xenstore_transport, vchan, tls-mirage, conduit-mirage and cohttp-mirage → https://git.io/JtkaJ
<supersandro2000>
siraben: I don't think this lib is any different from just lib. lib are just nix functions and not anything related to the stdenv AFAIK
<gchristensen>
gnome users, what terminal do you use? I typically use alacritty, but it has funny window dressing, and also I can't launch more than one
kapil_ has quit [Read error: Connection reset by peer]
<supersandro2000>
Reventlov: that is the ouput wen I try to run a binary on darwin
<supersandro2000>
gchristensen: and weird colors
<supersandro2000>
use kitty if you need GPU acc or Konsole
h0m2 has quit [Quit: WeeChat 3.0]
kapil_ has joined #nixos
<Reventlov>
supersandro2000: yeah, I got it after a while (but I still don't know what could cause this, I'm not even sure the simulator is supposed to be compatible with darwin)
<genevino>
Error in file "/nix/store/b3372dzns2417ks9xj8b7qbkrlxp0r5q-system-path/share/applications/krita_jpeg.desktop": "jpeg/jfif" is an invalid MIME type ("jpeg" is an unregistered media type)
<genevino>
that looks like a bug, is that a known one?
ahmedelgabri has joined #nixos
nikivi has joined #nixos
Diagon has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @mroi opened pull request #109635 → linux-pam: fix cross compilation on Darwin → https://git.io/Jtk6K
<petrichor>
It's detected correctly by `airscan-discover` but `scanimage -L` doesn't show it; `sudo scanimage -L` *does* show it as `device 'airscan:e0:EPSON XP-860 Series' is a eSCL EPSON XP-860 Series eSCL network scanner` but `scanimage --help -d "airscan:e0:EPSON XP-860 Series"` fails with `scanimage: open of device airscan:e0:EPSON XP-860 Series failed: Invalid argument`
asheshambasta has quit [Ping timeout: 272 seconds]
<madmaurice>
When adding packages for master I use nix-build -A pkg path/to/local/nixpkgs/repository to check if it builds. In a recent instance however I realized that it builds a derivation from my user-local overlay instead of the derivation I have added to nixpkgs. Is there any way to prevent nix-build from using .config/nixpkgs for a particular build?
<Henson>
I'm trying to build a Python package using buildPythonPackage. It needs to use the "msgfmt" command from gettext. I've included gettext in the list of buildInputs, but setup.py can't find the msgfmt command. When I create a nix-shell with the same dependencies it works just fine. I get the feeling this might be an issue where buildInputs is not looking in the right output of gettext.
<Henson>
any suggestions?
<infinisil>
Henson: Try nativeBuildInputs instead
<madmaurice>
infinisil, Thanks I'll add it as a shell alias
ericsagnes has quit [Ping timeout: 272 seconds]
<Henson>
infinisil: thank you, that was it!
<infinisil>
:)
copumpkin has quit [Quit: Hmmm]
copumpkin has joined #nixos
ahmed_elgabri has joined #nixos
ahmedelgabri has quit [Ping timeout: 246 seconds]
lsix1 has quit [Ping timeout: 264 seconds]
copumpkin has quit [Ping timeout: 272 seconds]
hiro98 has joined #nixos
anonymous_idiot has quit [Quit: Connection closed]
zupo has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JtkF8
zupo has joined #nixos
ahmed_elgabri has quit [Ping timeout: 264 seconds]
ahmedelgabri has joined #nixos
ericsagnes has joined #nixos
Hail_Spacecake has quit [Ping timeout: 240 seconds]
arjen-jonathan has quit [Ping timeout: 246 seconds]
Hail_Spacecake has joined #nixos
Henson has quit [Ping timeout: 256 seconds]
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
BaughnLogBot has joined #nixos
attila_lendvai_ has joined #nixos
hnOsmium0001 has joined #nixos
rb2k has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
<gchristensen>
sorry to ask again, but is there a way to ask gnome to refresh what programs it knows about? right now I have to log out / log in to launch newly installed system-level programs
rb2k has quit [Client Quit]
lordcirth_ has joined #nixos
<eyJhb>
Anybody using the nixExtensions for Firefox that was included some time back? Because it seems fairly broken right now. Nothing really works....
<MmeQuignon>
Hi everyone! I have a question : Is there a way to use mount (cifs) as user? Is there a group to do that? Thank you!
attila_lendvai has quit [Ping timeout: 272 seconds]
<bbigras>
MmeQuignon: I don't know if users can mount but I wonder if you could use a systemd automount. maybe the user could trigger it by accessing it.
<bbigras>
I also wonder if users can mount if the entry is in fstab.
arjen-jonathan has joined #nixos
<MmeQuignon>
Well, the idea is not to add entries in the fstab
<bbigras>
ah. no idea then. good luck
<MmeQuignon>
I mean, there's a remote share I have access to. I'm the proprietary of the folder I want to mount the device on. Why should I be root to do that?
<MmeQuignon>
It does not makes sense to me.
<dutchie>
9
<dutchie>
whoops
<kunrooted[m]>
hey guys can anyone check my config?
<kunrooted[m]>
I've decided to install nixOS 12 hours before school start again after winter break haha
<MmeQuignon>
do you have any traceback or whatever ?
<kunrooted[m]>
what is traceback
<kunrooted[m]>
I'm not into English haha
<MmeQuignon>
error message
<MmeQuignon>
(I'm not either ^^)
<MmeQuignon>
Have you tried to compile this config ?
Siyo has joined #nixos
jolicoeur has joined #nixos
bparker has quit [Changing host]
bparker has joined #nixos
<jolicoeur>
can anyone with an ssd check if nixos ever trim ed that disk ? `journalctl -aqg strim`
<jolicoeur>
(or nvme)
<kunrooted[m]>
<MmeQuignon "Have you tried to compile this c"> Not yet
<MmeQuignon>
jolicoeur:sure
<kunrooted[m]>
I mean, I'm installing NixOS the first time on the actual hardware
<jolicoeur>
`journalctl -aqg fstrim`
<kunrooted[m]>
I Just compile it And it should be done?
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @fabaff opened pull request #109664 → python3Packages.adext: init at 0.3 → https://git.io/Jtkxy
<MmeQuignon>
jolicoeur:don't know why, it seems I should have something installed : libpcre2-8.so.0
<jolicoeur>
ah -g does a pcre grep
<jolicoeur>
`journalctl -aq | grep fstrim`
o1lo01ol1o has joined #nixos
<MmeQuignon>
jolicoeur:thanks, didn't know about this
<MmeQuignon>
none of my configs return anythin (one with ext4 the other with btrfs (which do no trim))
marcje has joined #nixos
<jolicoeur>
ok so trim never ran on those systems
<jolicoeur>
which is very bad iiuc
<MmeQuignon>
kunrooted[m]: Well, the idea is to first have a working config. Once it's done, then you add programs and whatever. But IMO, you should do it step by step.
<jolicoeur>
just had a 2 years old 1tb nvme rendered useless since it never trim ed itslef
<MmeQuignon>
You shouldn't try to install and configure everything for your first config.
<jolicoeur>
zfs has the services.zfs.trim.enable option enabled by default
<dnlkrgr[m]>
hey all, somehow my urxvt settings done by home-manager seem to not be applied. For vim the settings done by home-manager work. What am I missing?
<dnlkrgr[m]>
I guess my extraConfig is wrong
gustavderdrache has quit [Quit: Leaving.]
<jolicoeur>
gchristensen, that might well be the case. I read conflicting things about this. But it seems disabling weekly trims shouldn't blow up a drive as I thought. It should normally and at most render writes much slower when disk is nearly full.
Lord_of_Life has quit [Ping timeout: 246 seconds]
<jolicoeur>
nevertheless most distros enable weekly trim by default
Lord_of_Life has joined #nixos
vidbina_ has joined #nixos
jolicoeur has quit [Remote host closed the connection]
EmoSpice has joined #nixos
iv_nn[m] has joined #nixos
jolicoeur has joined #nixos
tom39291 has quit [Ping timeout: 260 seconds]
<kunrooted[m]>
how do I test config before installation?
tom39291 has joined #nixos
zupo_ has joined #nixos
foobar4279[m] has joined #nixos
<jolicoeur>
kunrooted[m], it will complain if it's invalid
o1lo01ol1o has joined #nixos
EmoSpice has quit [Ping timeout: 240 seconds]
<kunrooted[m]>
hmmm
<jolicoeur>
sudo nixos-rebuild test
zupo has quit [Ping timeout: 264 seconds]
<kunrooted[m]>
oh fuck I used switch flag
<jolicoeur>
check the man page though
<jolicoeur>
it just doesn't add an entry in grub if you didn't set it
<jolicoeur>
just pick the previous grub entry if you really can't boot/use the new config
fuzzypixelz has joined #nixos
<fuzzypixelz>
markdown-it-py is not working on 20.09
<fuzzypixelz>
I get a `missing markdown-it-py`
<fuzzypixelz>
But it's fine on unstable
<jolicoeur>
python37Packages.markdown-it-py or python38Packages.markdown-it-py
<fuzzypixelz>
where is python38Packages defined?
<fuzzypixelz>
38
<jolicoeur>
fuzzypixelz, `nix-shell -p 'python38.withPackages(ps: with ps; [ markdown-it-py ])'`
<jolicoeur>
works fine, I can `from markdown_it import MarkdownIt` in python3, in that nix-shell
xanderle has quit [Ping timeout: 256 seconds]
EmoSpice has joined #nixos
<fuzzypixelz>
that's weird because it doesn't work for me
<fuzzypixelz>
(in the nix-shell)
<fuzzypixelz>
I still get undefined variable 'markdown-it-py'
<{^_^}>
[nixpkgs] @fabaff opened pull request #109666 → python3Packages.pyblackbird: init at 0.5 → https://git.io/Jtkjz
<kunrooted[m]>
<jolicoeur "it just doesn't add an entry in "> can you help me with that? I'm a little bit retarded and new
<kunrooted[m]>
I think this is the day when my nix-philia starts
<kunrooted[m]>
gonna learn nix
Siyo has quit [Ping timeout: 246 seconds]
lsix1 has quit [Ping timeout: 264 seconds]
tracerte has joined #nixos
ahmed_elgabri has quit [Quit: WeeChat 3.0]
strobelight has quit [Ping timeout: 256 seconds]
arjen-jonathan has quit [Ping timeout: 264 seconds]
davidv7 has joined #nixos
EmoSpice has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
work_ has quit [Quit: Connection closed for inactivity]
EmoSpice has quit [Ping timeout: 256 seconds]
lsix1 has joined #nixos
<colemickens>
one of us!
<pisquo[m]>
<kunrooted[m] "just a quick question, does pack"> If you want you can use home-manger to manage user packages in a declarative way (afaik since I've been using nixos for just a month)
pitch has quit [Read error: Connection reset by peer]
vidbina_ has quit [Ping timeout: 256 seconds]
Siyo has joined #nixos
strobelight has joined #nixos
attila_lendvai has quit [Ping timeout: 272 seconds]
<jolicoeur>
that's possible with users.users.username.packages and without home-manager too
garionion has joined #nixos
cole-h has joined #nixos
tracerte has quit [Remote host closed the connection]
titouan7 has quit [Read error: Connection reset by peer]
titouan has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
zupo has joined #nixos
simba1 has joined #nixos
EmoSpice has quit [Ping timeout: 256 seconds]
alexherbo23 has joined #nixos
madmaurice has quit [Quit: Leaving]
zupo_ has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo23 is now known as alexherbo2
Marissa has quit [Ping timeout: 272 seconds]
zupo has quit [Ping timeout: 260 seconds]
<MmeQuignon>
regarding my earlier question about using mount as user. There's a tool, `gio` that allows to run gio mount `smb://whatever` (it also works with ssh, external drives and so on). The device is then mounted in $XDG_RUNTIME_DIR/gvfs (which is /run/user/<UID> here). Hope it'll help.
ManiacOfMadness has quit []
monokrome has quit [Ping timeout: 264 seconds]
Hail_Spacecake has quit [*.net *.split]
nicoo has quit [*.net *.split]
srk has quit [*.net *.split]
cantstanya has quit [*.net *.split]
xelxebar has quit [*.net *.split]
madalu has quit [*.net *.split]
est31 has quit [*.net *.split]
andreas303 has quit [*.net *.split]
oida has quit [*.net *.split]
jb55 has quit [*.net *.split]
mmmattyx has quit [Quit: Connection closed for inactivity]
tracerte has quit [Remote host closed the connection]
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JtIfp
Marissa has joined #nixos
philr_ has joined #nixos
alexherbo22 has joined #nixos
<kunrooted[m]>
nevermind guys I fucked somewhere because I want Dual Boot and Linux Boot Manager booted once, then I've checked Windows and it worked and then I wanted Linux Boot Manager again and it doesn't work right noe
alexherbo2 has quit [Read error: Connection reset by peer]