Clone this Gist:
git clone git@gist.github.com:/bbe689928cfa6ca1e55b7f2506e09626.git try-devenv-lock
This Gist demonstrates how devenv.lock can be parsed from plain Nix to
resolve inputs without enabling flakes.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>/home/thu/projects/slab/src/Slab/Command.hs</title> | |
| <meta name="colorscheme" content="wildcharm"></meta> | |
| <style> | |
| * {font-family: monospace} | |
| body {background-color: #ffffff; color: #000000; margin:0px; padding:0px; margin-top: 13.5px; margin-left: -0.5px;} | |
| .String {color: #0000c0} |
| -- Parse expressions layed out on multiple lines (as long as they're indented). | |
| -- It works by using the standard @makeExprParser@ and passing it versions of, | |
| -- say, the @lexeme'@ combinator that check the current indentation against an | |
| -- initial one. | |
| {-# LANGUAGE OverloadedStrings #-} | |
| import Control.Monad (guard) | |
| import Control.Monad.Combinators.Expr | |
| import Data.Void | |
| import Text.Megaparsec |
| include layout-page.slab | |
| let titl = "Setting up a Nix binary cache" | |
| let date = "2024-06-05" | |
| page{titl, date} | |
| style. | |
| pre, code { | |
| max-width: 100%; |
Following https://github.com/rsms/inter/blob/master/CONTRIBUTING.md#compiling-font-files
$ make -j test
The program ‘make’ is currently not installed. It is provided by
several packages. You can install it by typing one of the following:
nix-env -iA nixos.gnumake
nix-env -iA nixos.gnumake42
| data V4 = V4 deriving Show | |
| data V6 = V6 deriving Show | |
| class V4Getter getter where getIPV4 :: getter -> IO V4 | |
| class V6Getter getter where getIPV6 :: getter -> IO V6 | |
| class (V4Getter getter, V6Getter getter) => V4V6Getter getter |
I'm trying go-jira, but there is also jira-cli in Python.
I've generated an API token at https://id.atlassian.com/manage-profile/security/api-tokens and pasted it in my password store:
$ pass edit jira/smart-token
A wiki page exists: https://nixos.wiki/wiki/Steam.
I started with simply nix-shell -p steam, which failed with a 404 while
trying to download some .deb. I updated my nixos channel, then tried again,
and got a shell.
Then I run the following and got a problem:
| # Adapted from | |
| # https://raw.githubusercontent.com/kalemena/docker-cadquery/master/Dockerfile. | |
| FROM ubuntu:18.04 | |
| ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 | |
| # Compiler tools | |
| RUN apt-get update -y \ | |
| && apt-get install -qqy \ | |
| wget bzip2 ca-certificates software-properties-common \ |
| FROM alpine:3.12 | |
| ADD file-1.txt / |