Created
February 1, 2025 11:04
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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