Skip to content

Instantly share code, notes, and snippets.

@dacr
Created February 1, 2025 11:04
Show Gist options
  • Save dacr/5749d4fb33867fffb7dd01f072824347 to your computer and use it in GitHub Desktop.
Save dacr/5749d4fb33867fffb7dd01f072824347 to your computer and use it in GitHub Desktop.
nix pkgs lib / published by https://github.com/dacr/code-examples-manager #c192c63e-1440-457b-bab5-e5c4d41e409c/eb090a38e18231064dcc67a2ca00cb2855bcfb5b
## summary : nix pkgs lib
## keywords : nix, pkgs, lib
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : c192c63e-1440-457b-bab5-e5c4d41e409c
## created-on : 2025-02-01T11:11:09+01:00
## managed-by : https://github.com/dacr/code-examples-manager
## run-with : nix eval --file $file
#### run-with : nix-instantiate --eval $file
let
pkgs = import <nixpkgs> {};
message = ''
${pkgs.lib.strings.toUpper "Hello world"}
'';
in message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment