<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3ANix-writers</id>
	<title>Talk:Nix-writers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3ANix-writers"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Talk:Nix-writers&amp;action=history"/>
	<updated>2026-05-29T23:47:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Talk:Nix-writers&amp;diff=7197&amp;oldid=prev</id>
		<title>imported&gt;MrVanDalo: problem with writeC</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Talk:Nix-writers&amp;diff=7197&amp;oldid=prev"/>
		<updated>2019-12-30T22:30:19Z</updated>

		<summary type="html">&lt;p&gt;problem with writeC&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;start this &amp;lt;code&amp;gt;shell.nix&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{ pkgs ? import &amp;amp;lt;nixpkgs&amp;amp;gt; { } }:&lt;br /&gt;
pkgs.mkShell {&lt;br /&gt;
  buildInputs = with pkgs;&lt;br /&gt;
    [&lt;br /&gt;
      (pkgs.writers.writeC &amp;amp;quot;hello-world-ncurses&amp;amp;quot; {&lt;br /&gt;
        libraries = [ pkgs.ncurses ];&lt;br /&gt;
      } &amp;#039;&amp;#039;&lt;br /&gt;
        #include &amp;amp;lt;ncurses.h&amp;amp;gt;&lt;br /&gt;
        int main() {&lt;br /&gt;
          initscr();&lt;br /&gt;
          printw(&amp;amp;quot;Hello World !!!&amp;amp;quot;);&lt;br /&gt;
          refresh(); endwin();&lt;br /&gt;
          return 0;&lt;br /&gt;
        }&lt;br /&gt;
      &amp;#039;&amp;#039;)&lt;br /&gt;
    ];&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
I get the error :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/nix/store/3g2pkmc1s9ycjaxaqc5hrzmq05r5ywbi-stdenv-linux/setup: line 1293: find: command not found&lt;br /&gt;
Must specify package names on the command line&lt;br /&gt;
/build/.attr-0:1:10: fatal error: ncurses.h: No such file or directory&lt;br /&gt;
 #include &amp;amp;lt;ncurses.h&amp;amp;gt;&lt;br /&gt;
          ^~~~~~~~~~~&lt;br /&gt;
compilation terminated.&lt;br /&gt;
builder for &amp;#039;/nix/store/n9lj0aw48rwrp8sqc6b3cl2vivd2w59m-hello-world-ncurses.drv&amp;#039; failed with exit code 1&lt;br /&gt;
error: build of &amp;#039;/nix/store/n9lj0aw48rwrp8sqc6b3cl2vivd2w59m-hello-world-ncurses.drv&amp;#039; failed&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;MrVanDalo</name></author>
	</entry>
</feed>