convert to flake
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
# nix-build hello_world.nix.
|
||||
#
|
||||
|
||||
with import ../lib;
|
||||
|
||||
pkgs: oldpkgs: {
|
||||
pkgs: oldpkgs:
|
||||
with import ../lib { nixpkgs = pkgs; };
|
||||
{
|
||||
exec = name: { filename, argv ? null, envp ? null, destination ? "" }:
|
||||
pkgs.writeC name { inherit destination; } /* c */ ''
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user