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
module Quine exposing (main) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
main = | |
Html.textarea | |
[ rows 30 | |
, cols 160 |
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
{ | |
inputs = { | |
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; | |
fenix = { | |
url = "github:nix-community/fenix"; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; | |
naersk = { | |
url = "github:nix-community/naersk"; | |
inputs.nixpkgs.follows = "nixpkgs"; |
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
{ hostPkgs ? import <nixpkgs> { }, ... }: | |
let | |
src = hostPkgs.fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs"; | |
rev = "1db42b7fe3878f3f5f7a4f2dc210772fd080e205"; | |
sha256 = "sha256-8LEHoYSJiL901bTMVatq+rf8y7QtWuZhwwpKE2fyaRY="; | |
}; | |
pkgs = import src { }; | |
in |
OlderNewer